Instead of using the <copy> tag you may just try using exec tag and
doing an xcopy. 

 

BOb

 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim
Mayert
Sent: Thursday, November 08, 2007 10:52 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] NAnt copy command failing
withSystem.IO.PathTooLongException

 

During my NAnt build I have our product installs generated. Once the
build is complete I use the copy task to copy the output install folders
to out network testing folder. One of the installs is in a CD Image
format and it is built in uncompressed mode, meaning that the full
directory structure is exposed. So when this copy takes place it will
fail with the System.IO.PathTooLongException - path larger than 260
characters.

 

I before I change my install project to generate a compressed build of
the CD Image I was just wondering if there is any thing that I could
change so that it may be possible to copy a folder structure that was
larger than 260 characters.

 

Thanks,

 

SMART Technologies Inc.
Tim Mayert

Build and Installation Engineer
Software Development

Tel. 403.228.8552 Fax 403.245.0366
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
http://www.smarttech.com <http://www.smarttech.com/> 
Bringing people and ideas together. (tm)

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to