ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Jackson" <foamd...@gmail.com>
Subject Re: Problem with condition selection property; Help needed
Date Tue, 10 Apr 2007 02:09:01 GMT
Hi,

You are setting a property to a value (n | y) in your <input> task.
As soon as you set a property it keeps that value for the whole build
as ant properties are immutable.

It won't behave like you expect and each time reset to the value you
choose, it will just be the first value that you set.

I'm also not sure that using a loop is the best way to achieve your
requirements, isn't it easier to just deploy all of the ear files in
an output directory regardless of how many there are?  Why do you need
to loop at all?

Kev

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


Mime
View raw message