ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Genter" <>
Subject RE: Question about "depends" attribute in the target element
Date Mon, 12 Nov 2007 19:16:14 GMT
> From: broken connection [] 
> Sent: Monday, November 12, 2007 11:11 AM
> To: Ant Users List
> Subject: Re: Question about "depends" attribute in the target element
> Yeah,I apologize for that....but how can i resolve this guys???
> I want targetA and targetB to be indepently called under this 
> scenario:
> targetA can be called independently...
> targetB always depends on targetA and should make sure 
> targetA is ran before
> it runs....
> Any advice???

You'll need to structure your build something like this:

<target name="A" unless="">
   <echo>I am target A</echo>
   <property name="" value="true"/>

<target name="B" depends="A">
   <echo>I am target B</echo>

Rick Genter
Principal Software Engineer
Silverlink Communications
Office (781) 425-5763
Mobile (781) 771-9677

This e-mail, including attachments, may include confidential and/or
proprietary information, and may only be used by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message