ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <ninju_bo...@yahoo.com>
Subject Using ant properties in <replace> file
Date Tue, 19 Apr 2005 15:32:56 GMT
Hello all,

Just want to make sure that ANT 1.6.2 can NOT do the
following (otherwise I am doing something wrong...
which could never be :-))

Wanting to replace a bunch of values in a file, so I
created a replaceFilterFile containing all the
token=value entries and using the <replace> task I am
able to search/replaces all the "tokens" and put the
"value" in there place...

The problem is that now we need have the "value"
portion be dependent on a property value (i.e. in the
file we need the following
@@path_to_main_properties@@=${deploy.dir}\main.properties

When I run the <replace> task the above data the
property ${deploy.dir} is NOT replaced.

Am I doing anything wrong...

Thanx,

Ninju

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message