ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bill" <b...@wilandra.com>
Subject RE: Problem with condition selection property; Help needed
Date Tue, 10 Apr 2007 17:28:40 GMT
Sorry abut that last empty post.

You might want to look at AntForm, http://antforms.sourceforge.net/ . With
it you can show a UI window where the user can pick the component to deploy
by clicking check boxes. Each checkbox can set a different property that you
can test to see if you want to proceed.

HTH Bill

-----Original Message-----
From: Shailesh Sharma [mailto:shailesh_scea@yahoo.com] 
Sent: Tuesday, April 10, 2007 8:13 AM
To: Ant Users List
Subject: Re: Problem with condition selection property; Help needed

actually, the deployer is sometimes suggested to just deploy 1 or 2 or 3 or
etc. So, it circumstantial.
   
  

Kevin Jackson <foamdino@gmail.com> wrote:
  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



       
---------------------------------
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.



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


Mime
View raw message