ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Corley \(AT/LMI\)" <david.cor...@ericsson.com>
Subject RE: Properties File
Date Tue, 15 Aug 2006 16:32:13 GMT
Put filter tokens where you want the values to be placed...like this
Property1=@value1@
Property2=@value2@
Property3=@value3@

Then you can run a <replace> task to replace the @token@ with a value of
your choice, before packaging.

 

-----Original Message-----
From: Bala Paranj [mailto:bparanj@yahoo.com] 
Sent: 15 August 2006 17:05
To: user@ant.apache.org
Subject: Properties File

I have a properties file under config directory at the same level as the
packages containing source. The Ant script currently packages everything
including the properties file used by the application. 

I want the user of this script to be able to provide the values of the
properties when the script is run. Then package everything. What is the
standard way to do this? TIA.

---------------------------------------------------------------------
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