Bugs item #1685036, was opened at 2007-03-21 11:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1685036&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Fabien Poirier (pogzy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Copy task failed with PathTooLongException exception

Initial Comment:
I run Nant 0.85, I've got the following error during a copy task: 
--- begin log extract ----------
     [echo] 
K:\nobkp\dev\tbu1\appli\prd\pclink\v1.0\buildauto/b2007_03_21/reference/Libraries
 
     [echo] D:\PC_Link_v1.0\dev\/Libraries 

BUILD FAILED 

INTERNAL ERROR 

System.IO.PathTooLongException: The specified path, file name, or both are too 
long. The fully qualified file name must be less than 260 characters, and the 
directory name must be less than 248 characters.

   at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) 
   at System.IO.Path.GetFullPathInternal(String path) 
   at System.IO.FileInfo..ctor(String fileName) 
   at NAnt.Core.Tasks.CopyTask.ExecuteTask() 
   at NAnt.Core.Task.Execute() 
   at NAnt.Core.Target.Execute() 
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) 
   at NAnt.Core.Tasks.CallTask.ExecuteTask() 
   at NAnt.Core.Task.Execute() 
   at NAnt.Core.Target.Execute() 
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) 
   at NAnt.Core.Project.Execute() 
   at NAnt.Core.Project.Run() 

Please send bug report to [EMAIL PROTECTED] 
--- end log extract ----------

>From the following build file: 
--- begin build.build extract ----------
                <echo message="${integration.dir}/Libraries"/> 
                <echo message="${home.dir}/Libraries"/> 
                <copy todir="${integration.dir}/Libraries"> 
                        <fileset basedir="${home.dir}/Libraries"> 
                                <include name="**" /> 
                        </fileset> 
                </copy> 
--- end build.build extract ----------

And i fact, in the D:\PC_Link_v1.0\dev\/Libraries I've got quite long subdirs. 


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1685036&group_id=31650

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to