Put filter tokens where you want the values to be placed...like this
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@

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:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to