The Property task's file attribute will load the values as ant
properties.

Ben

-----Original Message-----
From: Ninju Bohra [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 16, 2007 8:19 AM
To: Ant Users List
Subject: Re: load name value pairs in file as tokens

Have you looked at the <replace> task...it has a replacefilterfile
attribute

Hope that helps,

Ninju

 


----- Original Message ----
From: kkmca <[EMAIL PROTECTED]>
To: user@ant.apache.org
Sent: Thursday, February 15, 2007 7:18:13 PM
Subject: load name value pairs in file as tokens


I have a setup file that contains 80 or so name value pairs separated by
an
"=" sign. I want to use these name value pairs   to replace similarly
name
keys in a number of other files needed to deploy web applications to
different environments.  Is it possible to load these name value pairs
from
a file and have them resolved as a key in configuration file?


-- 
View this message in context:
http://www.nabble.com/load-name-value-pairs-in-file-as-tokens-tf3237205.
html#a8997361
Sent from the Ant - Users mailing list archive at Nabble.com.


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


 
________________________________________________________________________
____________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

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



**************************************************************
This message, including any attachments, contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, please contact sender immediately by reply 
e-mail and destroy all copies.  You are hereby notified that any disclosure, 
copying, or distribution of this message, or the taking of any action based on 
it, is strictly prohibited.
TIAA-CREF
**************************************************************


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

Reply via email to