Jeroen,
This is not possible right now, but a patch implementing filterchains has
been submitted by Roger Dahlman (thanks !!!) which would allow this.
I just haven't had enough time to review the patch.
Gert
----- Original Message -----
From: "Jeroen Zwartepoorte" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 27, 2004 12:13 PM
Subject: [Nant-users] using <regex> task on files
> Hi,
>
> >From looking at the documentation, it seems the <regex> task is only to
> be used for retrieving data from files, not to find & replace text in a
> file. There doesn't seem to be a way to do a global replace (s/blah/bla/
> g) for example.
>
> Is this correct? I need this kind of functionality for a configuration
> file where the actual information required is only available at build
> time. So i want to do a regex on the file:
>
> <copy file="node.plugin.in" tofile="node.plugin"/>
> <regex pattern="s/@assembly@/${assemblyfile}/g" input="node.plugin"/>
> <move file="node.plugin" todir="${plugin.dir}"/>
>
> Any ideas?
>
> Thanks,
>
> Jeroen
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users