A generic Ant ‘help’ target
November 17, 2003 – 12:31 | java
<target name= "help" description="List all targets for the project">
<java classname="org.apache.tools.ant.Main">
<arg value="-projecthelp" />
<arg value="-buildfile" />
<arg value="${ant.file}" />
</java>
</target>
Or with Ant 1.6
<target name= "help" description="List all targets for the project">
<java classname="org.apache.tools.ant.launch.Launcher">
<arg value="-projecthelp"/>
</java>
</target>
