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 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0"?>
  2. <project name="vaadin-server" 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-server" />
  12. <property name="module.symbolic" value="com.vaadin.server" />
  13. <property name="result.dir" value="result" />
  14. <path id="classpath.compile.custom" />
  15. <path id="classpath.test.custom" />
  16. <union id="jar.includes">
  17. <union refid="server.gwt.includes" />
  18. <fileset dir="${vaadin.basedir}/WebContent">
  19. <include name="VAADIN/vaadinBootstrap.js" />
  20. </fileset>
  21. </union>
  22. <target name="jar">
  23. <property name="server.osgi.import"
  24. value="javax.servlet;version=&quot;2.4.0&quot;,javax.servlet.http;version=&quot;2.4.0&quot;,org.jsoup;version=&quot;1.6.3&quot;,org.jsoup.parser;version=&quot;1.6.3&quot;,org.jsoup.nodes;version=&quot;1.6.3&quot;,org.jsoup.helper;version=&quot;1.6.3&quot;,org.jsoup.safety;version=&quot;1.6.3&quot;,org.json;version=&quot;0.0.20080701&quot;" />
  25. <property name="server.osgi.require"
  26. value="com.vaadin.shared;bundle-version=&quot;${vaadin.version}&quot;,com.vaadin.push;bundle-version=&quot;${vaadin.version}&quot;;resolution:=optional" />
  27. <antcall target="common.jar">
  28. <param name="require-bundle" value="${server.osgi.require}" />
  29. <param name="import-package" value="${server.osgi.import}" />
  30. <param name="osgi.extra.package.prefixes" value="VAADIN" />
  31. <reference torefid="extra.jar.includes" refid="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="server.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="test" depends="checkstyle">
  50. <antcall target="common.test.run" />
  51. </target>
  52. </project>