This was fixed in cvs a while ago.

Can you try one of the recent nightly builds
(http://nant.sourceforge.net/nightly/builds) and get back to us ?

Thanks,

Gert
----- Original Message ----- 
From: "Olivier Dagenais" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 18, 2003 7:12 PM
Subject: [nant-dev] Internal nant error


I was asked to report this to your address...  Using nant 0.8.3.  I have a
nant task within my nant script, but it looks like the <solution> task tries
to use the first task's currentDirectory (e:/src/buildrobot/) instead of the
nant task's directory (e:/src/buildrobot/builds/razorrobot/4/).
Specifically, line 45 of src/Nant.VSNET/Solution.cs should probably call
System.IO.Path.Combine with the project's basedir and strSolutionFilename,
although you probably already know this..

Anyway, here's the output I got.  I'm able to get around the problem by
launching nant with <exec /> and pointing workingdir to the appropriate
place.

"""
     [nant] ./builds/RazorRobot/4/RazorRobot.build

            Buildfile:
file:///E:/src/BuildRobot/builds/RazorRobot/4/RazorRobot.build

            build:

             [solution] Starting solution build.
            Total time: 0 seconds.

            BUILD FAILED

            INTERNAL ERROR

            System.IO.FileNotFoundException: Could not find file
"E:\src\BuildRobot\razorrobot.sln".
File name: "E:\src\BuildRobot\razorrobot.sln"
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, Boole
an useAsync, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean
detectEncodingFromByteOrderMarks, Int32 buffe
rSize)
   at System.IO.StreamReader..ctor(String path)
   at NAnt.VSNet.Tasks.Solution..ctor(String strSolutionFilename, ArrayList
alAdditionalProjects, ArrayList alReferenceP
rojects, TempFileCollection tfc, Task nanttask)
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

            Please send bug report to [EMAIL PROTECTED]
"""


PS:  Keep up the good work.  Open source rocks!

-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=
Olivier Dagenais
Software Engineering / Génie logiciel
Formark Consulting Ltd.
(613) 599-5173 x238
-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to