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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0"?>
  2. <project name="vaadin-client-compiler" 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-client-compiler" />
  11. <property name="module.symbolic" value="com.vaadin.client-compiler" />
  12. <property name="result.dir" value="result" />
  13. <path id="classpath.compile.custom">
  14. <fileset file="${gwt.dev.jar}" />
  15. </path>
  16. <union id="compiler.includes">
  17. <union refid="client-compiler.gwt.includes" />
  18. <fileset dir="${result.dir}">
  19. <include name="com/google/gwt/dev/About.properties" />
  20. </fileset>
  21. </union>
  22. <target name="jar">
  23. <!-- Get Git revision -->
  24. <exec executable="git" outputproperty="git.revision" failifexecutionfails="false" errorproperty="">
  25. <arg value="describe" />
  26. <arg value="--tags" />
  27. <arg value="--always" />
  28. <arg value="HEAD" />
  29. </exec>
  30. <echo file="${result.dir}/com/google/gwt/dev/About.properties">gwt.version=${vaadin.version}
  31. gwt.svnrev=${git.revision}</echo>
  32. <antcall target="common.jar">
  33. <reference refid="compiler.includes" torefid="extra.jar.includes" />
  34. </antcall>
  35. </target>
  36. <target name="publish-local" depends="jar">
  37. <antcall target="common.sources.jar" />
  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="tests" depends="checkstyle">
  50. <!--<antcall target="common.tests.run" />-->
  51. <echo>WHAT? No tests for ${module.name}!</echo>
  52. </target>
  53. </project>