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.

Re: [Nant-users] Target1 calling target2 overwriting a property

2005-08-24 Thread Ashley Moran
Rory Becker wrote: Can someone tell me why when the Target dev1 calls the target Build, Build the executes with it's original CIBase of "c:\Integration\" rather than the passed property of "D:\My Documents\Visual Studio Projects\CurrentProjects\" Thanks Rory Rory I think it's because you ne

Re: [Nant-users] regex replace

2005-07-29 Thread Ashley Moran
Steve Baker wrote: I don’t see any type of functionality in nant or nantcontrib to find and replace a string value in a file. There is xmlpoke for xml files. How are people doing the same type of thing for non xml files? I wrote a task for this myself a while back, but sometimes clients pre

[Nant-users] Easy way to hide output of a command

2005-07-05 Thread Ashley Moran
Hi Simple question and I bet the answer is no, but... is there a way to hide the output of an task? I'm working on Windoze and I've googled for a way to do it on the command prompt, but I can't find an equivalent of /dev/null or nil: but no joy. I'm calling SQL Server's dtsrun.exe and it f

Re: [Nant-users] Build tasks failure

2005-07-04 Thread Ashley Moran
James Jackson wrote: Hi, I’m calling FxCop as a Nant task, and want the build to fail if it returns any errors. However, setting failonerror=”true” does break the build, but then doesn’t complete the remaining tasks in Nant (calling Nunit) or Cruise Control (merging the XML outputs). Is th

Re: [Nant-users] Forcing a target to fail from

2005-06-02 Thread Ashley Moran
Choose whichever one you think most appropriate. Personally, I'm fond of 3 for most cases. Just try to design it with the goal of being maintained by some junior build engineer who may not know much more than JavaScript. I've only caught the tail end of this thread so I haven't missed the p

Re: [Nant-users] Trying to abstract the section.

2005-04-20 Thread Ashley Moran
Selke, Anthony wrote: Ouch. I really hoped to avoid building the file from scratch (hence the tag). What about the node? I have the following: Actually I've just done a similar thing- dynamically generating a nant script (although mine was for customised remote application installs. What you

Re: [Nant-users] How to determine if an error has occurred when failonerror="false"

2005-04-06 Thread Ashley Moran
Troy Laurin wrote: Chris, Try the task in recent releases of nant-contrib (it is in RC2). http://nantcontrib.sourceforge.net/release/latest/help/tasks/trycatch.html Note that nant-contrib and nant should be at the same version for maximum compatibility. Regards, I wish I had known about this! My

[Nant-users] fails with error Failed to open database: The specified module could not be found.

2005-03-03 Thread Ashley Moran
to have full control of the whole hard drive! Now here is the strange thing: if I map drive W on my local machine to D:\work on the dev server, I can run the script on my local machine across the network and vssget works fine! Can anyone suggest what's going on? Maybe this is a Windows issue bu