ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willie Wheeler <>
Subject Re: conditionally execute a target
Date Wed, 04 Apr 2001 20:35:41 GMT
One way to do it is to set a property, and then use the 'if' attribute on
a target.


On Wed, 4 Apr 2001, Ryan Schutt wrote:

> The way ant currently works, you set the default target, and when you build
> without specifying a target, ant will run the default target.  What I'd like
> to do is conditionally execute a target at runtime, instead of executing the
> default target all the time.  Is there anyway to do this?

View raw message