ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <ninju_bo...@yahoo.com>
Subject Re: Using ant properties in <replace> file
Date Wed, 20 Apr 2005 02:40:21 GMT
So anybody have any guidance on whether or not
${property.name} are resolved in <replace> filter
file?


--- Ninju Bohra <ninju_bohra@yahoo.com> wrote:
> 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
> 
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search. 
http://info.mail.yahoo.com/mail_250

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


Mime
View raw message