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

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