Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

build-tests.xml 1.3KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project basedir=".">
  3. <target name="-init-clover-initstring" unless="clover.init.string">
  4. <property name="clover.init.string" location=".clover/clover.db"/>
  5. </target>
  6. <target name="-init-clover" depends="-init-clover-initstring">
  7. <path id="clover.classpath">
  8. <fileset dir="lib" includes="*clover*.jar"/>
  9. <fileset dir="${clover.search.path}" includes="*clover*.jar"/>
  10. </path>
  11. <taskdef resource="cloverlib.xml" classpathref="clover.classpath"/>
  12. <taskdef resource="cloverjunitlib.xml" classpathref="clover.classpath"/>
  13. <condition property="clover.installed">
  14. <and>
  15. <available classname="com.cenqua.clover.CloverInstr"/>
  16. <or>
  17. <available file="lib/clover.license"/>
  18. <available file="${clover.search.path}/clover.license"/>
  19. </or>
  20. </and>
  21. </condition>
  22. </target>
  23. <target name="with.clover" depends="-init-clover" if="clover.installed"
  24. description="Set up Clover to instrument tests.">
  25. <clover-env/>
  26. <clover-setup initstring="${clover.init.string}"/>
  27. </target>
  28. <target name="compile-for-tests" depends="clean,with.clover,compile"/>
  29. </project>