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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0"?>
  2. <project name="vaadin-server" 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-server" />
  11. <property name="module.symbolic" value="com.vaadin.server" />
  12. <property name="result.dir" value="result" />
  13. <path id="classpath.compile.custom" />
  14. <path id="classpath.test.custom" />
  15. <union id="jar.includes">
  16. <union refid="server.gwt.includes" />
  17. <fileset dir="${vaadin.basedir}/WebContent">
  18. <include name="VAADIN/vaadinBootstrap.js" />
  19. </fileset>
  20. </union>
  21. <target name="jar">
  22. <property name="server.osgi.import" 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;" />
  23. <antcall target="common.jar">
  24. <param name="require-bundle" value="com.vaadin.shared;bundle-version=&quot;${vaadin.version}&quot;"/>
  25. <param name="import-package" value="${server.osgi.import}" />
  26. <param name="osgi.extra.package.prefixes" value="VAADIN" />
  27. <reference torefid="extra.jar.includes" refid="jar.includes" />
  28. </antcall>
  29. </target>
  30. <target name="publish-local" depends="jar">
  31. <antcall target="common.sources.jar">
  32. <reference torefid="extra.jar.includes" refid="server.gwt.includes" />
  33. </antcall>
  34. <antcall target="common.javadoc.jar" />
  35. <antcall target="common.publish-local" />
  36. </target>
  37. <target name="clean">
  38. <antcall target="common.clean" />
  39. </target>
  40. <target name="checkstyle">
  41. <antcall target="common.checkstyle">
  42. <param name="cs.src" location="src" />
  43. </antcall>
  44. </target>
  45. <target name="test" depends="checkstyle">
  46. <antcall target="common.test.run" />
  47. </target>
  48. </project>