Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

build.xml 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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
  5. 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" failifexecutionfails="false" errorproperty="">
  26. <arg value="describe" />
  27. <arg value="--tags" />
  28. <arg value="--always" />
  29. <arg value="HEAD" />
  30. </exec>
  31. <echo file="${result.dir}/com/google/gwt/dev/About.properties">gwt.version=${vaadin.version}
  32. gwt.svnrev=${git.revision}</echo>
  33. <antcall target="common.jar">
  34. <reference refid="compiler.includes" torefid="extra.jar.includes" />
  35. </antcall>
  36. </target>
  37. <target name="publish-local" depends="jar">
  38. <antcall target="common.sources.jar">
  39. <reference torefid="extra.jar.includes" refid="compiler.includes" />
  40. </antcall>
  41. <antcall target="common.javadoc.jar" />
  42. <antcall target="common.publish-local" />
  43. </target>
  44. <target name="clean">
  45. <antcall target="common.clean" />
  46. </target>
  47. <target name="checkstyle">
  48. <antcall target="common.checkstyle">
  49. <param name="cs.src" location="src" />
  50. </antcall>
  51. </target>
  52. <target name="test" depends="checkstyle">
  53. <!--<antcall target="common.test.run" /> -->
  54. <echo>WHAT? No tests for ${module.name}!</echo>
  55. </target>
  56. </project>