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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. <reference torefid="extra.jar.includes" refid="compiler.includes" />
  39. </antcall>
  40. <antcall target="common.javadoc.jar" />
  41. <antcall target="common.publish-local" />
  42. </target>
  43. <target name="clean">
  44. <antcall target="common.clean" />
  45. </target>
  46. <target name="checkstyle">
  47. <antcall target="common.checkstyle">
  48. <param name="cs.src" location="src" />
  49. </antcall>
  50. </target>
  51. <target name="tests" depends="checkstyle">
  52. <!--<antcall target="common.tests.run" />-->
  53. <echo>WHAT? No tests for ${module.name}!</echo>
  54. </target>
  55. </project>