Re: [Nant-users] Unit Testing Nant Scripts

2005-09-12 Thread Troy Laurin
On 9/13/05, Anderson, Kelly <[EMAIL PROTECTED]> wrote: > Does anyone have any idea about how to unit test Nant scripts? Is it > even possible? > > -Kelly Kelly, There is unit testing in place for many (most?) NAnt tasks, which can be found in the source distribution of NAnt. There isn't really

Re: [Nant-users] FTP

2005-09-12 Thread Troy Laurin
On 9/13/05, Ashley Moran <[EMAIL PROTECTED]> wrote: > Paul Cowan wrote: > > Is FTP in anyway possible through Nant? > > You have to use an external program. There is also an FTP task available for NAnt, unfortunately it is not distributed as part of NAnt or NAnt-Contrib. You can get it from here

RE: [Nant-users] multiple wildcards in filesets

2005-09-12 Thread Sparrman, David (GE Healthcare, consultant)
Sorry if my previous post was hard to understand. Something weird has happened. The task now works as intended. Not edited, no new version of Nant, no reboot. Makes you wonder if it works even dates or something. To check if the codestat task had its own implementation of fileset, I wrote a re

[Nant-users] Unit Testing Nant Scripts

2005-09-12 Thread Anderson, Kelly
Does anyone have any idea about how to unit test Nant scripts? Is it even possible? -Kelly --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile

Re: [Nant-users] grepping for patterns in a file with nant??

2005-09-12 Thread Gary Feldman
Jason Manfield wrote: I am calling nunit-console from within my nant and would like to check if the nunit test passed or failed by searching for the pattern 'failures="0" not-run="0"' in the output xml file generated by nunit-console. How do I search for patterns within a file with nant? The

Re: [Nant-users] multiple wildcards in filesets

2005-09-12 Thread Gary Feldman
Sparrman, David (GE Healthcare, consultant) wrote: In a fileset, is it possible to specify wildcards (specifically "**") only once? I'm not sure what you're asking. No one is holding a gun at your head to force you to put a wildcard in more than once. I'm pretty sure that most or all the e

Re: [Nant-users] FTP

2005-09-12 Thread Ashley Moran
Paul Cowan wrote: Is FTP in anyway possible through Nant? You have to use an external program. I do a lot of SFTP with NAnt using the PuTTY tools as psftp can run commands from a script. You can use the standard ftp tool- the Windows version takes a -s argument to specify a script.

[Nant-users] FTP

2005-09-12 Thread Paul Cowan
Hi all,   Is FTP in anyway possible through Nant? Thanks Paul _ VirusChecked for Huntsworth plc _

[Nant-users] multiple wildcards in filesets

2005-09-12 Thread Sparrman, David (GE Healthcare, consultant)
Title: Message In a fileset, is it possible to specify wildcards (specifically "**") only once? In my case:           or is the codestat task in nantcontrib using its own fileset implementation?   When running filesets with only one "**" specified, it works      

RE: [Nant-users] Delete directories wildcard

2005-09-12 Thread Gert Driesen
Paul, You can use patterns in the include element of the fileset: Hope this helps, Gert > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Paul Cowan > Sent: zondag 11 september 2005 16:58 > To: Nant-users@l