ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BOUSQUET Jeremie" <Jeremie.BOUSQ...@gemplus.com>
Subject RE: How to build silently
Date Thu, 27 Apr 2006 08:16:38 GMT
Thanks for answer, you did not understand because it wasn't clear at all
... ;)

My users can override properties in property files expected by build
process, but some inputs are used to get values before these property
files are loaded. So the only way to define these properties before
<input>s is from command-line.
But due to the way build process is launched (integration in windows
explorer), it's hard for users to adapt ANT command-line ...

PropertyFileInputHandler might solve my problem, I will work on this,
many thanks for information !

-- Jeremie

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org] 
> Sent: jeudi 27 avril 2006 06:05
> To: user@ant.apache.org
> Subject: Re: How to build silently
> 
> On Wed, 26 Apr 2006, BOUSQUET Jeremie <Jeremie.BOUSQUET@gemplus.com>
> wrote:
> 
> > I know default values can be a solution, but sometimes 
> these default 
> > values can only come from command line (which is masked 
> from end-user 
> > and so not very usable here), and sometimes there is just 
> no default 
> > value (and so it will always ask you to press a key) ...
> 
> I'm not sure I understand this.  If the default value must 
> come from the command line, how would you want to automate this?
> 
> <input> won't display a prompt at all if the property it 
> intends to set already has a value before running the task, 
> so you can suppress the whole task by providing values 
> upfront.  I'm not sure whether this is true for 1.6.5 or the 
> change went into Ant's trunk later, so it may not be an 
> option for you.
> 
> Otherwise, take a look at
> <http://ant.apache.org/manual/inputhandler.html>, in 
> particular PropertyFileInputHandler.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
> additional commands, e-mail: user-help@ant.apache.org
> 
> 

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


Mime
View raw message