Is there an ant command which lists all targets in a file and there depends?
Right now I just use a little power shell script to match lines that contain <target but its not really a good solution. Is there any sort of built in command?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The closest is
ant -p(orant -p -vto get more information). This won’t list the target dependencies, but I don’t see it as a problem: dependencies are not important for the end user (they just tell how the target works).What’s important is what the target does, which is what should be in its description:
I what you really want is the target dependencies, then reading the xml file is the best you can do.