This is the 0.8.3 release right ? as I recall 0.8.3 had a problem where the nunit tests use a different config file to the nant.exe.config so its still trying to use 1.0 for the compiler tests.Thats my suspicion anyway.
You'll probably have better luck with a nightly build. see http://nant.sourceforge.net/builds/.
Unfortunately the latest one ( 06-Dec-2003 01:21 ) exhibits the same issue that you found in beta1 ( the path error ). I have fixed the problem however and the next nightly build will have the fix.
Ian
Cassidy, Thomas wrote:
Attempted to build nant-0.84 yesterday but it failed as indicated in message below. Response from a list member that I received indicated “This is actually an error resulting from a known issue with resource compilation in beta1…”. So then tried to build nant-0.8.3. Unfortunately, I’m now getting the following errors when I try to build it.
Only change to downloaded files/data was to changed nant.exe.config to set default framework to net-1.1.
Any suggestions on what I can look at or change?
Thanks
Tom
[EMAIL PROTECTED]
[nant] tests/NAnt.DotNet/NAnt.DotNet.build test
Buildfile: file:///C:/000 Code/nant-0.8.3.50105/tests/NAnt.DotNet/NAnt.DotNet.build
build:
test:
[nunit2] Tests run: 10, Failures: 6, Not run: 0, Time: 1.3920155 seconds
Failures:
1) Tests.NAnt.DotNet.Tasks.CscTaskTest.Test_DebugBuild : Error Executing Project
at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in c:\000 Code\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 96
at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in c:\000 Code\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 80
at Tests.NAnt.DotNet.Tasks.CscTaskTest.Test_DebugBuild() in c:\000 Code\nant-0.8.3.50105\tests\NAnt.DotNet\Tasks\CscTaskTest.cs:line 64
2) Tests.NAnt.DotNet.Tasks.CscTaskTest.Test_ReleaseBuild : Error Executing Project
at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in c:\000 Code\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 96
at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in c:\000 Code\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 80
at Tests.NAnt.DotNet.Tasks.CscTaskTest.Test_ReleaseBuild() in c:\000 Code\nant-0.8.3.50105\tests\NAnt.DotNet\Tasks\CscTaskTest.cs:line 72
3) Tests.NAnt.DotNet.Tasks.JscTaskTest.Test_DebugBuild : Error Executing Project
at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in c:\000 Code\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 96
at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in c:\000 Code\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 80
at Tests.NAnt.DotNet.Tasks.JscTaskTest.Test_DebugBuild() in c:\000 Code\nant-0.8.3.50105\tests\NAnt.DotNet\Tasks\JscTaskTest.cs:line 58
4) Tests.NAnt.DotNet.Tasks.JscTaskTest.Test_ReleaseBuild : Error Executing Project
at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in c:\000 Code\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 96
at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in c:\000 Code\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 80
at Tests.NAnt.DotNet.Tasks.JscTaskTest.Test_ReleaseBuild() in c:\000 Code\nant-0.8.3.50105\tests\NAnt.DotNet\Tasks\JscTaskTest.cs:line 66
5) Tests.NAnt.DotNet.Tasks.VbcTaskTest.Test_DebugBuild : Error Executing Project
at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in c:\000 Code\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 96
at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in c:\000 Code\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 80
at Tests.NAnt.DotNet.Tasks.VbcTaskTest.Test_DebugBuild() in c:\000 Code\nant-0.8.3.50105\tests\NAnt.DotNet\Tasks\VbcTaskTest.cs:line 66
6) Tests.NAnt.DotNet.Tasks.VbcTaskTest.Test_ReleaseBuild : Error Executing Project
at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in c:\000 Code\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 96
at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in c:\000 Code\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 80
at Tests.NAnt.DotNet.Tasks.VbcTaskTest.Test_ReleaseBuild() in c:\000 Code\nant-0.8.3.50105\tests\NAnt.DotNet\Tasks\VbcTaskTest.cs:line 74
Total time: 1 seconds.
BUILD FAILED
Tests Failed
Total time: 14 seconds.
BUILD FAILED
Nested build failed. Refer to build log for exact reason.
Total time: 28 seconds.
BUILD FAILED
C:\000 Code\nant-0.8.3.50105\NAnt.build(120,10): External Program Failed: C:\000 Code\nant-0.8.3.50105/build/nant-0.8.3.50105-debug/bin/NAnt.exe (return code was 1)
------------------------------------------------------------------------
*From:* Cassidy, Thomas *Sent:* Monday, December 08, 2003 11:49 AM *To:* '[EMAIL PROTECTED]' *Subject:* FW: Bug report
Gentlemen:
Received following error while attempting to build nant. I added a line to the .build file to define a value for “nant.settings.currentframework”:
<property name="nant.settings.currentframework" value="net-1.1" />
I do not have .Net Framework 1.0 installed on my machine. I only have .Net Framework 1.1 installed. Build attempt would fail on first invocation of csc if I tried to run against .build without adding the line. With the added line it will run until the line below where it fails. I probably didn’t setup the pointer to framework dir correctly.
Thanks
Tom Cassidy
[nant] C:\000 Code\nant-0.84\tests\NAnt.Core\NAnt.Core.build build
Buildfile: file:///C:/000 Code/nant-0.84/tests/NAnt.Core/NAnt.Core.build
Target(s) specified: build
build:
[csc] Compiling 42 files to C:\000 Code\nant-0.84/build/net-1.1.win32/nant-0.84-debug/bin/NAnt.Core.Tests.dll.
BUILD FAILED
INTERNAL ERROR
System.NotSupportedException: The given path's format is not supported.
at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
at System.Security.Util.StringExpressionSet.AddExpressions(String[] str, Boolean checkForDuplicates, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at NAnt.DotNet.Tasks.CompilerBase.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]
Total time: 0.2 seconds.
BUILD FAILED
Nested build failed. Refer to build log for exact reason.
Total time: 13.9 seconds.
--
Ian MacLean, Developer, ActiveState, a division of Sophos
http://www.ActiveState.com
------------------------------------------------------- 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-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users