ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: user input
Date Tue, 09 Oct 2007 09:22:53 GMT
ahnf wrote:
> Hi,
> We just upgrade from ant 1.6 to 1.7 and collecting some user input from a script no longer
works
> 
> We have a bash script which collects input via <input tasks
> 
> <input  message="Choose the client to build? "   addproperty="myProp" />
> <input  message="Choose the box to build? "   addproperty="myProp2" />
> 
> 
> our bash script works like this
> 
> ant targetName << END
> param1
> param2
> END
> 
> 
> the
> new version of any just seems to ignore this input, before with 1.6.x
> it worked. How can I achieve this same functionality in 1.7? or just the ability to send
property params to the ant build from my bash script?

Do it the way you'd do it on the command line

ant targetname -Dmyprop=param1 -Dmyprop2-param2

-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

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


Mime
View raw message