Okay where is this special character used? In XCopy or through NAnt
script?

Since I am constantly having this copy problem I'll use exec with xcopy
for now until there is a better way to handle this.

Thanks,

Tim Mayert.


-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 08, 2007 9:44 AM
To: Bob Archer; Tim Mayert; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] NAnt copy command
failingwithSystem.IO.PathTooLongException

Yes, I think so. Don't have time to look it up right now, but will do it
later.

----- Original Message ----- 
From: "Bob Archer" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>; "Tim Mayert"
<[EMAIL PROTECTED]>; <nant-users@lists.sourceforge.net>
Sent: Thursday, November 08, 2007 5:26 PM
Subject: RE: [NAnt-users] NAnt copy command
failingwithSystem.IO.PathTooLongException


Was it "\\?\"

???



-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 08, 2007 11:25 AM
To: Bob Archer; Tim Mayert; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] NAnt copy command
failingwithSystem.IO.PathTooLongException

A while ago I read a blog post of one of the Windows
developers/architects while explains a way to support paths of more than
260 
characters. If I recall correctly if we using a special character as
prefix.

I'll need to look it up again. Either we encourage users to use that
prefix or we implicitly add it in NAnt (on Windows only).

Gert

----- Original Message ----- 
From: "Bob Archer" <[EMAIL PROTECTED]>
To: "Tim Mayert" <[EMAIL PROTECTED]>;
<nant-users@lists.sourceforge.net>
Sent: Thursday, November 08, 2007 5:19 PM
Subject: Re: [NAnt-users] NAnt copy command
failingwithSystem.IO.PathTooLongException


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
> 





-------------------------------------------------------------------------
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