Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Problem with condition selection property; Help needed

Problem with condition selection property; Help needed

2007-04-11       - By Shailesh Sharma
Reply:     <<     11     12     13     14  

I think, iam going to live with this problem for the time being.
 
 :)
 

bill <bill@(protected)> wrote:
 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@(protected)]
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 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@(protected) For additional
commands, e-mail: user-help@(protected)




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



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)



     
---------------------------------
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.