o: nant-developers@lists.sourceforge.net
> Subject: [nant-dev] Patch Task
>
> I was just wondering if there were plans for a Patch task. I
> need something to compare two sets of files but it can't be
> based on dates, it has to be a byte by byte comparison. I
> created a target to do th
I was just wondering if there were plans for a Patch task. I need
something to compare two sets of files but it can't be based on dates,
it has to be a byte by byte comparison. I created a target to do this
using a scripted c# function and if nothing was in the works yet I
think it would be somet
- Original Message -
From: "Olivier Dagenais" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>
Sent: Monday, February 23, 2004 2:52 PM
Subject: RE: [nant-dev] PATCH: task now creates satellite
assemblies
> Glad I could help. I do, how
Olivier,
Thanks a lot for your patch !!! I committed it to cvs with some
modifications ...
Gert
- Original Message -
From: "Olivier Dagenais" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 19, 2004 10:53 PM
Subject: [nant-dev] PATCH: task
Hi,
I got fed up with having NAnt produce a "broken" build of our codebase, so I found the
following message yesterday:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg01956.html
...with which I was able to understand enough to modify my NAnt script and hardcode
the necessary actions. Since
Matthew Mastracci wrote:
Are there any objections to this patch? It's burning a hole in my HD
waiting to get checked in. :) If there aren't any objections, I'll
drop it in and start work on my next item.
none from me.
Ian
Matthew Mastracci wrote:
This patch adds the following functionality
Are there any objections to this patch? It's burning a hole in my HD
waiting to get checked in. :) If there aren't any objections, I'll
drop it in and start work on my next item.
Matthew Mastracci wrote:
This patch adds the following functionality to the element:
- multiple delimiters are
What about this one? I use the already-gotten dstInfo to test for
attribute we don't want and clear them if they exist. Shouldn't be a
lot of overhead in this case:
diff -u -r1.4 CopyTask.cs
--- src/NAnt.Core/Tasks/CopyTask.cs 26 Feb 2003 07:02:30 - 1.4
+++ src/NAnt.Core/Tasks/Cop
This patch adds the following functionality to the element:
- multiple delimiters are allowed
- multiple properties are allowing the item="Line" case, but only if
delimiter(s) are specified
- trim="" property allows you to specify trimming whitespace from
begin, end or both parts of a string
Should I move the attribute setting bit to the earlier File.Exists
test? This way, we should only have a single place to test it and the
network overhead should only be a single attribute set per existing
file. I may actually be able to retrieve all the file properties in one
go and only set
--- Matthew Mastracci <[EMAIL PROTECTED]> wrote:
> This fixes the problem with read-only file destination for the
> task. If noone objects, I'll check this in.
snip
> > if (File.Exists(dstPath))
> > File.SetAttributes(dstPath,
> FileAttrib
This fixes the problem with read-only file destination for the
task. If noone objects, I'll check this in.
cvs server: Diffing src/NAnt.Core/Tasks
Index: src/NAnt.Core/Tasks/CopyTask.cs
===
RCS file: /cvsroot/nant/nant/src/NAnt.Cor
12 matches
Mail list logo