ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arijit <ghosh.ari...@wipro.com>
Subject Re: replacing sections of build file
Date Tue, 12 Jun 2007 14:10:50 GMT

Problem is that replace is for replacing the tokens in another file.. what
happens if I want to change something in the same build file that I am
executing.. 


Scot P. Floess wrote:
> 
> If you denote the values you want changed in some "special" way (meaning 
> tokens), you can you the <replace> task.  Look at the Ant manual for 
> this - it gives a pretty good example...
> 
> arijit wrote:
>> I have a build file test.xml which has lines in it which need to be
>> replaced
>> by actual values. These actual values are read from a property file,
>> which
>> is loaded by this build file.
>>
>> This problem is similar to the thread "Token based loading of property
>> files" posted earlier in this forum. Have not received a response to that
>> as
>> well.
>>
>> any information for this ?
>>   
> 
> -- 
> Scot P. Floess
> 27 Lake Royale
> Louisburg, NC  27549
> 
> 252-478-8087 (Home)
> 919-392-6730 (Work)
> 
> Chief Architect JPlate  http://sourceforge.net/projects/jplate
> Chief Architect JavaPIM http://sourceforge.net/projects/javapim
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/replacing-sections-of-build-file-tf3907642.html#a11079387
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message