Hi all, 

Thanks for ur prompt reply. There was a mention about targets in ANT manual. 
"It should be noted, however, that Ant's depends attribute only specifies the 
order in which targets should be executed - it does not affect whether the 
target that specifies the dependency(s) gets executed if the dependent 
target(s) did not (need to) run."

if my target A fails, target B wud have to fail if it depends on A. but above 
statement looks contradictory !! 

How does the dependency taken care by "MAKE" is done here in ANT ?

Best rgds
Shreedhar



-----Original Message-----
From: Steve [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 22, 2005 5:30 PM
To: 'Ant Users List'
Subject: RE: Reg. Main target


 

> -----Original Message-----
> From: shreedhar natarajan [mailto:[EMAIL PROTECTED] 

> Now what is the diff. between Main targets and Other targets. 
> How do I make a target as Main target and what is the purpose of it ?

If you add a 'description' attribute to your tasks they will appear in the
Main section (however, tasks without a description will not be shown).

E.g.:

  <task name="foo" description="bar"/>

Cheers, Steve.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to