RE: [Nant-users] using task on files

2004-09-02 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
Castro Firing Systems Engineer [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Cole Sent: Thursday, September 02, 2004 7:06 AM To: 'Shawn Haigh' Cc: [EMAIL PROTECTED] Subject: RE: [Nant-users] using task on files S

RE: [Nant-users] using task on files

2004-09-02 Thread John Cole
); } ]]></code> - John Cole -Original Message- From: Shawn Haigh [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 8:43 AM To: John Cole Subject: RE: [Nant-users] using task on files John I came across your post and it looks like your custom func

Re: [Nant-users] using task on files

2004-06-29 Thread Ian MacLean
John, Just some comments on the layout below: I needed to do a similar thing. My solution was to create two new custom functions, regex::replace and file::get-file. They are very simple and have no error checking :-)
[Function("replace")]
public static

Re: [Nant-users] using task on files

- Original Message - From: "Ian MacLean" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: "Jeroen Zwartepoorte" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, June 29, 2004 4:43 AM Subject: Re: [Nant-users] usi

Re: [Nant-users] using task on files

Gert Driesen wrote: - Original Message - From: "Ian MacLean" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: "Jeroen Zwartepoorte" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, June 29, 2004 4:43 AM Subject: Re:

RE: [Nant-users] using task on files

Ian, Thanks for the tips! Putting the scripts in the top level is a great idea. As far as tasks vs functions, using functions and properties like this _felt_ nicer :-) And I use a echo task to actually write the file back out, I didn't provide a file::write function :-) Just a function to r

Re: [Nant-users] using task on files

Gert Driesen wrote: Gert, I'm a little confused: why are you asking me if i mind building NAntContrib from CVS if you know it doesn't build with Mono? I don't have any .Net on Windows here (just linux/ppc and linux/i386 with Mono). I asked this to determine whether it would be worth the troubl

Re: [Nant-users] using task on files

- Original Message - From: "Jeroen Zwartepoorte" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, June 28, 2004 5:49 PM Subject: Re: [Nant-users] using task on files > Gert, > > I'

Re: [Nant-users] using task on files

(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

RE: [Nant-users] using task on files

Jeroen, I needed to do a similar thing. My solution was to create two new custom functions, regex::replace and file::get-file. They are very simple and have no error checking :-)

Re: [Nant-users] using task on files

L PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, June 27, 2004 2:50 PM Subject: Re: [Nant-users] using 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/replaceregex

Re: [Nant-users] using 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

Re: [Nant-users] using task on files

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: <[EMAI