On Sun, 2005-07-03 at 19:54 +0800, Troy Laurin wrote:
> The normal way (AFAIK) to achieve this is to have your target 'C'
> depend on _both_ targets, and then use conditionals on those targets
> to determine which is supposed to run.  To rearrange your example
> above:
> 
> <target name="A" if="${target == 'A'}" />
> <target name="B" if="${target == 'B'}" />
> <property name="target" value="B" />
> <target name="C" depends="A,B" />

Ah, this is exactly what I needed! Thanks!

-- 
Stephen Touset <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to