ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LECONTE LaurentROSI/SICOR" <laurent.leco...@francetelecom.com>
Subject RE: Replacing tokens without token delimiters
Date Thu, 10 Feb 2005 15:29:20 GMT
> -----Message d'origine-----
> De : Lieve Van den Heuvel [mailto:lvandenheuvel@vangenechten.com]
> Envoyé : jeudi 10 février 2005 14:25
> À : user@ant.apache.org; LECONTE LaurentROSI/SICOR
> Objet : Re: Replacing tokens without token delimiters
> 
> 
> Hi
>  
> Have you tried the replace task?  I've used it to change data 
> in a file
> as well:
> <replace dir="${project.build.dir}/${hibernate.dir.name}"
> token="$FRAMEWORK_VERSION" value="${framework.version}">
>             <include name="**/*.cfg.xml"/>
>         </replace>
> 
> maybe this helps..
>  
> Greetings
> Lieve

Actually, I sent my e-mail a bit fast, I hadn't seen that replace supported the replacefilterfile
attribute. This is what I was looking for (can't imagine how I missed it, I must have read
the manual page three or four times today).

Thank you all.

Laurent

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


Mime
View raw message