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
);
}
]]></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
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
- 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
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:
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
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
- 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'
(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
additional functionality comming that should do
what you need too.
John Cole
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jeroen
Zwartepoorte
Sent: Sunday, June 27, 2004 5:14 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] using task on files
Hi,
>From lo
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
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]>
>
AIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 27, 2004 12:13 PM
Subject: [Nant-users] using task on files
> Hi,
>
> >From looking at the documentation, it seems the task is only to
> be used for retrieving data from files, not to find & replace text in a
> fi
Hi,
>From looking at the documentation, it seems the 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 configura
14 matches
Mail list logo