You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

ant.xml 1.2 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?xml version="1.0"?>
  2. <project name="ant-test" basedir="." default="test1">
  3. <target name="all" depends="test1,test2,test3,test4"/>
  4. <target name="test1">
  5. <ant antfile="ant.xml" dir="." target="test1"/>
  6. </target>
  7. <target name="test2">
  8. <antcall/>
  9. </target>
  10. <target name="test3">
  11. <antcall target="test3"/>
  12. </target>
  13. <target name="test4">
  14. <antcall target=""/>
  15. </target>
  16. <target name="test5">
  17. <antcall target="dummy"/>
  18. </target>
  19. <target name="test6">
  20. <ant antfile="ant.xml" dir="." target="dummy"/>
  21. </target>
  22. <target name="dummy">
  23. </target>
  24. <target name="inheritBasedir">
  25. <ant antfile="ant/ant.xml" target="dummy" inheritAll="true" />
  26. </target>
  27. <target name="doNotInheritBasedir">
  28. <ant antfile="ant/ant.xml" target="dummy" inheritAll="false" />
  29. </target>
  30. <target name="explicitBasedir1">
  31. <ant antfile="taskdefs/ant/ant.xml" target="dummy" inheritAll="true"
  32. dir=".." />
  33. </target>
  34. <target name="explicitBasedir2">
  35. <ant antfile="taskdefs/ant/ant.xml" target="dummy" inheritAll="false"
  36. dir=".." />
  37. </target>
  38. <target name="tripleCall">
  39. <ant antfile="ant/ant.xml" target="callback" inheritAll="false" />
  40. </target>
  41. </project>