> -----Message d'origine----- > De : Lieve Van den Heuvel [mailto:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]