File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes depends Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "depends" Watch "depends" New topic


sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1240
what is the use of depend in the target in ant?
<target name="report" depends="test">
Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

Have you read the online Ant manual? It explains this quite clearly as well as the other basic Ant concepts...

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
That's explained at length in the Ant manual:
wood burning stoves
subject: depends
It's not a secret anymore!