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

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0"?>
  2. <project name="vaadin" basedir="." default="package" xmlns:ivy="antlib:org.apache.ivy.ant">
  3. <include file="common.xml" as="common" />
  4. <path id="vaadin.buildhelpers.classpath" location="${vaadin.basedir}/buildhelpers/result/classes" />
  5. <!-- =================================
  6. target: all
  7. ================================= -->
  8. <!--<target name="all" description="Compiles all parts of the project" depends="buildhelpers,theme-compiler,shared,server,client">-->
  9. <target name="package" description="Compiles and packages all modules in the project" depends="buildorder">
  10. <subant buildpathref="build-path" target="publish-local">
  11. </subant>
  12. </target>
  13. <target name="buildorder">
  14. <!-- Find out a good build order -->
  15. <ivy:buildlist reference="build-path">
  16. <fileset dir="." includes="**/build.xml">
  17. <exclude name="build.xml" />
  18. <exclude name="build/**" />
  19. </fileset>
  20. </ivy:buildlist>
  21. </target>
  22. <target name="clean" depends="buildorder">
  23. <subant buildpathref="build-path" target="clean">
  24. </subant>
  25. <delete dir="result" />
  26. <!-- Clean IVY cache (~/.ivy2) so no old artifacts are fetched from there -->
  27. <ivy:cleancache />
  28. </target>
  29. <target name="tests" depends="buildorder">
  30. <subant buildpathref="build-path" target="tests">
  31. </subant>
  32. </target>
  33. </project>