Re: [NAnt-users] bug in fileset ?

2007-02-15 Thread Bob Archer
How about changing it to: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephane Hamel Sent: Thursday, February 15, 2007 1:52 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] bug in files

Re: [NAnt-users] bug in fileset ?

2007-02-15 Thread Cornish, Merrill
Yes, that is intended behavior. Think of a task, such as , as a subroutine call. The compiler (or, in this case, the XML interpreter) evaluates ALL arguments to the call, then passes the values to the subroutine. It is the internal execution of the subroutine that knows what if=false means, so

[NAnt-users] bug in fileset ?

2007-02-15 Thread Stephane Hamel
Hi, The following script doesn't work if the property test.file is not set. Is it the intended behavior? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceFo

[NAnt-users] Coding a custom task and re-using existing tasks

2007-02-15 Thread Kyle Schmitt
Hi, I'm updating a custom nant task dll that we use here in the office. I wanted to re-use some existing nant tasks inside of this one. In particular, the svncheckouttask. I mean, it exists, why re-write it when I can just use it, right? So here's the Q, from within my task, how would I go

Re: [NAnt-users] bug in path::get-directory-name()?

2007-02-15 Thread Samuel R. Neff
As Daniel pointed out earlier in this thread path::get-directory-name is just a wrapper around Path.GetDirectoryName() so it would be entirely inconsistent to change it's behavior. Most NAnt functions are wrappers around .NET functions, they should do exactly what the .NET function does, as is t

Re: [NAnt-users] warn task? (as opposed to fail task)

2007-02-15 Thread Stephane Hamel
Exactly what I was looking for. Thanks. From: Jay Flowers [mailto:[EMAIL PROTECTED] Sent: 15 février 2007 09:58 To: Stephane Hamel Subject: Re: [NAnt-users] warn task? (as opposed to fail task) On 2/15/07, Stephane Hamel < [EMAIL PROTECTED]

Re: [NAnt-users] Problem with xmlpeek & poke & WIX files(Capitalization of xml tags?)

2007-02-15 Thread Samuel R. Neff
Looks like the problem is namespaces. Even though the original XML doesn't use prefixes, it does have a default namespace declaration so to use xpath on it you need to declare namespaces and use a prefix in your xpath. Docs on xmlpeek talk about namespaces and have a namespaces example. http:/

Re: [NAnt-users] warn task? (as opposed to fail task)

2007-02-15 Thread Samuel R. Neff
Not sure if there's anything built in but we use a custom property to track warnings and report it in the e-mail. Works well for us. HTH, Sam --- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position

[NAnt-users] warn task? (as opposed to fail task)

2007-02-15 Thread Stephane Hamel
Hi, Is there a task equivalent to fail, but to generate a warning instead of a failure? If I use the fail task and set the failonerror to false, the script completes with this summary: BUILD SUCCEEDED - 1 non-fatal error(s), 0 warning(s) I would like to get the following summary instea

[NAnt-users] Simpler solution [was: bug in path::get-directory-name()?]

2007-02-15 Thread Daniel Blendea
I'm using this approach...less overhead

Re: [NAnt-users] bug in path::get-directory-name()?

I just tried and not producing the expected result.. path::get-directory-name("c:\my-folder\") returns the full path of the parent folder and path::get-directory-name("c:\my-folder\*.*") returns the full path of the folder. In this example, the result would have been "my-folder". I still believe