ANT depends attribute of a target
1 posts in topic
Flat View  Flat View

Posted By:   Dhurandhar_Bhatvadekar
Posted On:   Monday, December 8, 2003 07:42 PM

Target provides an attribute "depends" and the manual says that it should have a comma separated list of all targets on which the current target "depends" for compilation.

My question is it in ordered list ?

In other worlds are the following the same?




Re: ANT depends attribute of a target

Posted By:   Anonymous  
Posted On:   Tuesday, December 9, 2003 09:12 AM

The value for depends is an ordered list. But usually you don´t need to specify multiple entries. Usually you have something like


Ant creates a dependency graph before doing the work. So

clean : clean
compile : compile
jar : compile, jar
dist : compile, jar, dist
clean-dist: clean, compile, jar, dist
About | Sitemap | Contact