ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject Re: replacing sections of build file
Date Tue, 12 Jun 2007 14:28:30 GMT
So you want to replace while processing?  Hmm....maybe that isn't the 
best approach?  Maybe use property files?

arijit wrote:
> 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
>>
>>
>>
>>     
>
>   

-- 
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message