ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SQUELART,GERALD (HP-Australia,ex2)" <gerald_squel...@hp.com>
Subject RE: Order of Depends
Date Wed, 21 Feb 2001 04:21:22 GMT
You can add depends on sub-targets to impose an order...
If you want in this order: A,B,C under a Main target:
<target name="Main" depends="A,B,C"> ... (no order here)
<target name="A"> ...
<target name="B" depends="A"> ... (make sure A is made before B)
<target name="C" depends="B"> ... (make sure B is made before C)

Good luck!
Gerald.

> -----Original Message-----
> From: Rajagopal.V [mailto:raja0576@usa.net]
> Sent: Wednesday, 21 February, 2001 14:57
> To: ant-dev@jakarta.apache.org
> Subject: Order of Depends
> 
> 
> Hi
> If the order of depends in target is not guaranteed, then 
> what should be done
> to make sure that the targets are always run as expected. is there any
> workaround for this?
> 
> TIA
> Raj
> 
> ____________________________________________________________________
> Get free email and a permanent address at 
> http://www.netaddress.com/?N=1
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-dev-help@jakarta.apache.org
> 

Mime
View raw message