ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Bush <ekb...@swbell.net>
Subject Re: Flow-Control
Date Fri, 10 May 2002 01:34:19 GMT
Yeah ... but I would really like it to branch on a value and not the
presence of a variable ...

----- Original Message -----
From: "Erik Schalburg" <erik@sumerduckva.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Thursday, May 09, 2002 8:12 PM
Subject: RE: Flow-Control


> One of the greatest things about Ant is that you will never get laughed
off
> the list.
>
> > I have a build file that will, by changing a property definition
> > value (delploy.forreal) from false to true, will allow me to
> > select either a development or production deployment.  I want to
> > extend this concept to distributing a 'packed' (WAR) or unpacked
> > application.  My problem is that I don't see any flow-control
> > mechanism that would let me route to one alternative or the other
> > in my 'deploy' task.
>
> There are various ways to approach that... I'd suggest looking at the if
and
> unless attributes when declaring a target, as well as the param abilities
in
> <antcall>.
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>


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


Mime
View raw message