Kurt,

Can you submit a bug report for this, containing a very small repro and
detailed instructions on how to reproduce this issue ?

Thanks !

Gert


________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anderson,
Kurt
        Sent: donderdag 21 oktober 2004 22:22
        To: [EMAIL PROTECTED]
        Subject: [nant-dev] File Length Fix
        
        

         

        Unfortunately, our project files are structured in such a way that
they create very, very long file names.  For whatever reason, nant seems to
be choking from an exception thrown from the file IO.  It seems like it
should be a relatively easy thing to fix.  

         

        In the mean time, I can seem to move forward.

         

         

        C:\CCMIS.NET\D-Development\CCMIS_System\webCCMIS_Solution>nant build

        NAnt 0.85 (Build 0.85.1755.0; net-1.1.win32; dev; 10/21/2004)

        Copyright (C) 2001-2004 Gerry Shaw

        http://nant.sourceforge.net

         

        Buildfile:
file:///C:/CCMIS.NET/D-Development/CCMIS_System/webCCMIS_Solution/web

        CCMIS_Solution.build

        Target(s) specified: build

         

         

        build:

         

         [solution] Starting solution build.

         

        BUILD FAILED

         

        INTERNAL ERROR

         

        System.IO.PathTooLongException: The path is too long after being
fully qualified

        .  Make sure path is less than 260 characters.

           at System.IO.Path.nGetFullPathHelper(String path, Char[]
invalidPathChars, Ch

        ar[] whitespaceChars, Char directorySeparator, Char
altDirectorySeparator, Char

        volumeSeparator, Boolean fullCheck, String& newPath)

           at System.IO.Path.GetFullPathInternal(String path)

           at System.IO.Path.GetFullPath(String path)

           at NAnt.VSNet.Reference.ResolveFromRelativePath(XmlElement
referenceElement,

        String relativePath) in c:\Program
Files\NAnt\src\NAnt.VSNet\Reference.cs:line 6

        48

           at NAnt.VSNet.Reference.ResolveAssemblyReference(XmlElement
referenceElement)

         in c:\Program Files\NAnt\src\NAnt.VSNet\Reference.cs:line 579

           at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings
ps, XmlEleme

        nt elemReference, GacCache gacCache, ReferencesResolver refResolver,
ProjectBase

         parent, DirectoryInfo outputDir) in c:\Program
Files\NAnt\src\NAnt.VSNet\Refere

        nce.cs:line 124

           at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in
c:\Program Fi

        les\NAnt\src\NAnt.VSNet\Project.cs:line 178

           at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln,
SolutionTask slnTask,

        TempFileCollection tfc, GacCache gacCache, ReferencesResolver
refResolver, Direc

        toryInfo outputDir, String path) in c:\Program
Files\NAnt\src\NAnt.VSNet\Project

        Factory.cs:line 100

           at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings
ps, XmlEleme

        nt elemReference, GacCache gacCache, ReferencesResolver refResolver,
ProjectBase

         parent, DirectoryInfo outputDir) in c:\Program
Files\NAnt\src\NAnt.VSNet\Refere

        nce.cs:line 105

           at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in
c:\Program Fi

        les\NAnt\src\NAnt.VSNet\Project.cs:line 178

           at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln,
SolutionTask slnTask,

        TempFileCollection tfc, GacCache gacCache, ReferencesResolver
refResolver, Direc

        toryInfo outputDir, String path) in c:\Program
Files\NAnt\src\NAnt.VSNet\Project

        Factory.cs:line 100

           at NAnt.VSNet.Solution.LoadProjects(GacCache gacCache,
ReferencesResolver ref

        Resolver) in c:\Program Files\NAnt\src\NAnt.VSNet\Solution.cs:line
574

           at NAnt.VSNet.Solution..ctor(FileInfo solutionFile, ArrayList
additionalProje

        cts, ArrayList referenceProjects, TempFileCollection tfc,
SolutionTask solutionT

        ask, WebMapCollection webMaps, FileSet excludesProjects,
DirectoryInfo outputDir

        , GacCache gacCache, ReferencesResolver refResolver) in c:\Program
Files\NAnt\sr

        c\NAnt.VSNet\Solution.cs:line 130

           at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in c:\Program
Files\NAnt\src\N

        Ant.VSNet\Tasks\SolutionTask.cs:line 380

           at NAnt.Core.Task.Execute() in c:\Program
Files\NAnt\src\NAnt.Core\Task.cs:li

        ne 177

           at NAnt.Core.Target.Execute() in c:\Program
Files\NAnt\src\NAnt.Core\Target.c

        s:line 249

           at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in

         c:\Program Files\NAnt\src\NAnt.Core\Project.cs:line 876

           at NAnt.Core.Project.Execute() in c:\Program
Files\NAnt\src\NAnt.Core\Project

        .cs:line 833

           at NAnt.Core.Project.Run() in c:\Program
Files\NAnt\src\NAnt.Core\Project.cs:

        line 902

         

        Please send bug report to [EMAIL PROTECTED]

         

        Total time: 2 seconds.

         

         

        C:\CCMIS.NET\D-Development\CCMIS_System\webCCMIS_Solution>




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to