Here is a version that depends on the presence of description attributes on
targets. On ant's build.xml with some descriptions added the output is:

==================
Buildfile: build.xml
Targets:
 -dist       Creates the distribution
 -javadocs   Creates the API documentation
 -bootstrap  Installs the ant.jar library and binary files into ant.home
 -main       Creates the binary structure


BUILD SUCCESSFUL

Total time: 1 seconds
===================

The targets look like:

  <target name="main" depends="jar" description="Creates the binary
structure">

Regards,
Marcel Schutte

Attachment: patchfile-Main.java
Description: Binary data

Attachment: patchfile-ProjectHelper.java
Description: Binary data

Attachment: patchfile-Target.java
Description: Binary data

Reply via email to