In Apache Ant, for listing only the target names defined in the build.xml, all we have to do is type the following from command line :
Eg :
ant -p build.xml
Output :
Eg :
ant -p build.xml
Output :
Buildfile: /Users/ironcladzone/Documents/workspace/AntBuildTest/build/build.xml
Main targets:
Other targets:
clean
compile
copydir
create-jar
createdir
Default target: create-jar
No comments:
Post a Comment