You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.xml 3.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?xml version="1.0"?>
  2. <project name="vaadin-shared" basedir="." default="publish-local" xmlns:ivy="antlib:org.apache.ivy.ant">
  3. <description>
  4. Compiles build helpers used when building other modules.
  5. </description>
  6. <include file="../common.xml" as="common" />
  7. <include file="../build.xml" as="vaadin" />
  8. <include file="../gwt-files.xml" as="gwtfiles" />
  9. <!-- global properties -->
  10. <property name="module.name" value="vaadin-shared" />
  11. <property name="module.symbolic" value="com.vaadin.shared" />
  12. <property name="result.dir" location="result" />
  13. <property name="src.filtered" location="${result.dir}/filtered-src" />
  14. <property name="src" location="${src.filtered}" />
  15. <path id="classpath.compile.custom" />
  16. <target name="jar">
  17. <property name="shared.osgi.import" value="org.json;version=&quot;0.0.20080701&quot;, com.google.gwt.thirdparty.guava.common.annotations;version=&quot;10.0.1.rebased&quot;, com.google.gwt.thirdparty.guava.common.base;version=&quot;10.0.1.rebased&quot;, com.google.gwt.thirdparty.guava.common.base.internal;version=&quot;10.0.1.rebased&quot;, com.google.gwt.thirdparty.guava.common.cache;version=&quot;10.0.1.rebased&quot;, com.google.gwt.thirdparty.guava.common.collect;version=&quot;10.0.1.rebased&quot;, com.google.gwt.thirdparty.guava.common.eventbus;version=&quot;10.0.1.rebased&quot;, com.google.gwt.thirdparty.guava.common.io;version=&quot;10.0.1.rebased&quot;, com.google.gwt.thirdparty.guava.common.net;version=&quot;10.0.1.rebased&quot;, com.google.gwt.thirdparty.guava.common.primitives;version=&quot;10.0.1.rebased&quot;, com.google.gwt.thirdparty.guava.common.util.concurrent;version=&quot;10.0.1.rebased&quot;, com.google.gwt.thirdparty.streamhtmlparser;version=&quot;0.1.5.r10-rebased&quot;, com.google.gwt.thirdparty.streamhtmlparser.impl;version=&quot;0.1.5.r10-rebased&quot;, com.google.gwt.thirdparty.streamhtmlparser.util;version=&quot;0.1.5.r10-rebased&quot;, org.w3c.flute.parser;version=&quot;1.3.0.gg2&quot;, org.w3c.flute.parser.selectors;version=&quot;1.3.0.gg2&quot;, org.w3c.flute.util;version=&quot;1.3.0.gg2&quot;" />
  18. <delete dir="${src.filtered}" />
  19. <!-- Update version in Version.java -->
  20. <copy todir="${src.filtered}">
  21. <fileset dir="src">
  22. </fileset>
  23. <filterchain>
  24. <replacetokens begintoken="@" endtoken="@">
  25. <token key="VERSION" value="${vaadin.version}" />
  26. </replacetokens>
  27. </filterchain>
  28. </copy>
  29. <antcall target="common.jar">
  30. <param name="import-package" value="${shared.osgi.import}" />
  31. <reference refid="shared.gwt.includes" torefid="extra.jar.includes" />
  32. </antcall>
  33. </target>
  34. <target name="publish-local" depends="jar">
  35. <antcall target="common.sources.jar">
  36. <reference torefid="extra.jar.includes" refid="shared.gwt.includes" />
  37. </antcall>
  38. <antcall target="common.javadoc.jar" />
  39. <antcall target="common.publish-local" />
  40. </target>
  41. <target name="clean">
  42. <antcall target="common.clean" />
  43. </target>
  44. <target name="checkstyle">
  45. <antcall target="common.checkstyle">
  46. <param name="cs.src" location="src" />
  47. </antcall>
  48. </target>
  49. <target name="tests" depends="checkstyle">
  50. <!--<antcall target="common.tests.run" />-->
  51. <echo>WHAT? No tests for ${module.name}!</echo>
  52. </target>
  53. </project>