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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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;,javax.validation;version=&quot;1.0.0.GA&quot;;resolution:=optional,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. <property name="server.osgi.require" value="com.vaadin.shared;bundle-version=&quot;${vaadin.version}&quot;,com.vaadin.push;bundle-version=&quot;${vaadin.version}&quot;;resolution:=optional" />
  24. <antcall target="common.jar">
  25. <param name="require-bundle" value="${server.osgi.require}" />
  26. <param name="import-package" value="${server.osgi.import}" />
  27. <param name="osgi.extra.package.prefixes" value="VAADIN" />
  28. <reference torefid="extra.jar.includes" refid="jar.includes" />
  29. </antcall>
  30. </target>
  31. <target name="publish-local" depends="jar">
  32. <antcall target="common.sources.jar">
  33. <reference torefid="extra.jar.includes" refid="server.gwt.includes" />
  34. </antcall>
  35. <antcall target="common.javadoc.jar" />
  36. <antcall target="common.publish-local" />
  37. </target>
  38. <target name="clean">
  39. <antcall target="common.clean" />
  40. </target>
  41. <target name="checkstyle">
  42. <antcall target="common.checkstyle">
  43. <param name="cs.src" location="src" />
  44. </antcall>
  45. </target>
  46. <target name="test" depends="checkstyle">
  47. <antcall target="common.test.run" />
  48. </target>
  49. </project>