Jeroen, Our current procedure for new tasks is to add them to NAntContrib first, and they're moved to NAnt only after they've "stabilized".
However, in your case this is a problem as NAntContrib only builds on .NET for now as it has dependencies on COM interop assemblies ... We'll need to think about a solution for this ... Would you mind having to build NAntContrib from cvs ? (note: it won't build on Mono right now) Gert ----- Original Message ----- From: "Jeroen Zwartepoorte" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, June 27, 2004 2:50 PM Subject: Re: [Nant-users] using <regex> task on files > Hoi Gert, > > So i've written a ReplaceRegex task based on the same task which exists > for ant: http://ant.apache.org/manual/OptionalTasks/replaceregexp.html. > > Is it ok to commit and if so, can you commit this task to cvs? > > Thanks, > > Jeroen > > p.s. Just drop the file in src/NAnt.Core/Tasks/ and it'll get built > automatically. I've tested it locally and both codepaths (byline=true/ > false) work ok here on Linux with Mono. > > On Sun, 2004-06-27 at 16:20 +0200, Gert Driesen wrote: > > 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 > > > ------------------------------------------------------- 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
