ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Corey Jewett ...@syntheticplayground.com>
Subject Re: disabling targets dynamically
Date Fri, 12 Dec 2003 22:38:43 GMT
target has unless and if attributes that should let you do this.

http://ant.apache.org/manual/using.html#targets

Corey


On Friday, December 12, 2003, at 02:10 PM, Jacob, Anil - MWT wrote:

>
>  Is there a way to disable a target at runtime based on certain value 
> from a property
>
>  For example If I have - target 1, target 2, target 3 all of the are 
> available when I run ant on HostA, where as when I run on Host B I 
> want only target1 and target to be available.
>
> Is this possible?
> Anil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message