> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of NealWalters
> Sent: dinsdag 11 juli 2006 19:39
> To: [email protected]
> Subject: [NAnt-users] How to Catch Error in Copy Task
> 
> 
> Is there a way to catch/detect errors on the "copy" task? 
> I use the following to copy files from my notebook to a server.  
> When the server was rebooted, the copy failed.  When I copied 
> the directory
> from which I was copying into a Windows Explorer windows, 
> then I needed to
> sign-on. 
> So I know the problem and now I'm signed on, but NANT didn't 
> detect the
> error. 
> 
> Also, just for a test, I changed the directory name to non-existant
> directory and no error then. 

Are you sure about this ? You don't have failonerror set to "false" by
accident ?

Gert



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to