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.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0"?>
  2. <project name="vaadin-shared" basedir="." default="publish-local"
  3. xmlns:ivy="antlib:org.apache.ivy.ant">
  4. <description>
  5. Compiles build helpers used when building other modules.
  6. </description>
  7. <include file="../common.xml" as="common" />
  8. <include file="../build.xml" as="vaadin" />
  9. <include file="../gwt-files.xml" as="gwtfiles" />
  10. <!-- global properties -->
  11. <property name="module.name" value="vaadin-shared" />
  12. <property name="module.symbolic" value="com.vaadin.shared" />
  13. <property name="result.dir" location="result" />
  14. <property name="src.filtered" location="${result.dir}/filtered-src" />
  15. <property name="src" location="${src.filtered}" />
  16. <path id="classpath.compile.custom" />
  17. <target name="jar">
  18. <property name="shared.osgi.import"
  19. 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;" />
  20. <delete dir="${src.filtered}" />
  21. <!-- Update version in Version.java -->
  22. <copy todir="${src.filtered}">
  23. <fileset dir="src">
  24. </fileset>
  25. <filterchain>
  26. <replacetokens begintoken="@" endtoken="@">
  27. <token key="VERSION" value="${vaadin.version}" />
  28. </replacetokens>
  29. </filterchain>
  30. </copy>
  31. <antcall target="common.jar">
  32. <param name="import-package" value="${shared.osgi.import}" />
  33. <reference refid="shared.gwt.includes" torefid="extra.jar.includes" />
  34. </antcall>
  35. </target>
  36. <target name="publish-local" depends="jar">
  37. <antcall target="common.sources.jar">
  38. <reference torefid="extra.jar.includes" refid="shared.gwt.includes" />
  39. </antcall>
  40. <antcall target="common.javadoc.jar" />
  41. <antcall target="common.publish-local" />
  42. </target>
  43. <target name="clean">
  44. <antcall target="common.clean" />
  45. </target>
  46. <target name="checkstyle">
  47. <antcall target="common.checkstyle">
  48. <param name="cs.src" location="src" />
  49. </antcall>
  50. </target>
  51. <target name="test" depends="checkstyle">
  52. <!--<antcall target="common.test.run" /> -->
  53. <echo>WHAT? No tests for ${module.name}!</echo>
  54. </target>
  55. </project>