Yeah ... but I would really like it to branch on a value and not the
presence of a variable ...

----- Original Message -----
From: "Erik Schalburg" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to