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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. <path id="classpath.test.custom" />
  17. <target name="jar">
  18. <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;" />
  19. <delete dir="${src.filtered}" />
  20. <!-- Update version in Version.java -->
  21. <copy todir="${src.filtered}">
  22. <fileset dir="src">
  23. </fileset>
  24. <filterchain>
  25. <replacetokens begintoken="@" endtoken="@">
  26. <token key="VERSION" value="${vaadin.version}" />
  27. </replacetokens>
  28. </filterchain>
  29. </copy>
  30. <antcall target="common.jar">
  31. <param name="import-package" value="${shared.osgi.import}" />
  32. <reference refid="shared.gwt.includes" torefid="extra.jar.includes" />
  33. </antcall>
  34. </target>
  35. <target name="publish-local" depends="jar">
  36. <antcall target="common.sources.jar">
  37. <reference torefid="extra.jar.includes" refid="shared.gwt.includes" />
  38. </antcall>
  39. <antcall target="common.javadoc.jar" />
  40. <antcall target="common.publish-local" />
  41. </target>
  42. <target name="clean">
  43. <antcall target="common.clean" />
  44. </target>
  45. <target name="checkstyle">
  46. <antcall target="common.checkstyle">
  47. <param name="cs.src" location="src" />
  48. </antcall>
  49. </target>
  50. <target name="test" depends="checkstyle">
  51. <antcall target="common.test.run" />
  52. </target>
  53. </project>