Note that all depends targets will be run.  I think that they are run from left to right but they are all run.  In addition they will be run if the "if" test fails.  ( At least they do in Ant 1.3, I don't know if this has changed in 1.4)
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 7:09 AM
To: [EMAIL PROTECTED]
Subject: Re: Dependencies


Yes, there can be more than one dependent targets. Have a look at the targets section of http://jakarta.apache.org/ant/manual/using.html

Regards
_____________________________________
Kapil Singh Pawar
Consultant - Integration
i2 Technologies India Private Ltd.
1 Primrose Road
Bangalore 560 025, INDIA
Email: [EMAIL PROTECTED]
Tel: +91 80 558 1487-90 ext. 2416



"sandeep singh" <[EMAIL PROTECTED]>

10/22/01 04:32 PM
Please respond to ant-user

       
        To:        <[EMAIL PROTECTED]>
        cc:        
        Subject:        Dependencies



Can one target depends on more than one other targets ?

for eg

something like this!! Can we mention more than one depencies in one target
???




                <target name="name1" depends="target1","target1","target1">

                                 <sound>
                                                  <success source="F:\Ant1.4\MyExamples\src\AllCammonds\tada.wav"/>
                                                  <fail source="F:\Ant1.4\MyExamples\src\AllCammonds\tada.wav"/>
                                 </sound>
                </target>



Reply via email to