Hello.
I have my own alias and password stored in a ant buildfile, this way:
<property name="alias" value="foo"/>
<property name="alias" value="bar"/>
Before distributing my project, including the build file itself, i would
like to remove thoses values.
I had a look at internal replace task, but it doesn't seems to use string
expansion abilities.
So i tried an exec task with a perl invocation, but it fails due to mixing '
and " in command line arguments:
<exec dir="${dist}" executable="perl" os="Linux">
<arg value="-pi -e 's|name="alias"
value=".*"|name="alias" value=""|' build.xml"/>
</exec>
Also, is there an available values for os attribute ? I would like this task
to run on all unixes, not only Linux.
Any help appreciated.
--
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://bohm.snv.jussieu.fr/~rousse/gpgkey.html