ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinivas_Pasupar...@i2.com
Subject RE: Order of depends
Date Wed, 21 Feb 2001 21:40:46 GMT

You can make the other targets to depend on the required targets.

Ex:
<target name="c" depends="b" />
<target name="d" depends="c" />

Hope this helps.




                                                                                         
                         
                    "Rajagopal.V"                                                        
                         
                    <raja0576@usa        To:     ant-user@jakarta.apache.org          
                            
                    .net>                cc:                                          
                            
                                         Subject:     RE: Order of depends               
                         
                    02/21/01                                                             
                         
                    12:46 PM                                                             
                         
                    Please                                                               
                         
                    respond to                                                           
                         
                    ant-user                                                             
                         
                                                                                         
                         
                                                                                         
                         




Hi
If the order of depends in a target is not guaranteed, is there any
workaround
by which i can make sure that the depends order is mmaintained.

I mean if i have a target like

<target name="a" depends="b,c,d" />

Can i make sure that b is executed first, then c and d always???

TIA
Raj

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1





Mime
View raw message