ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: copy, filterchain, replace, replacetoken -- too complicate
Date Wed, 27 Oct 2004 13:06:16 GMT
Charles Daniels wrote:

>>-----Original Message-----
>>From: Schuett Thomas EXT 
>>
>>Problem 3:
>>The filterchain can NOT have a nested replace. Why not? This 
>>is, what I rate really
>>unclean.
>>    
>>
The doc is a little hidden...... (it is in the tokenfilter part of the 
filterchain page)
but one can do this:

      <filterchain>
        <replacestring from="=" to=":"/>
        <replacestring from="\:" to=":"/>
      </filterchain>

(since ant 1.6.0)
Where replacestring is a stringfilter nested element in an implicit 
tokenfilter.

Peter


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


Mime
View raw message