[Nant-users] Failures: Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld
I det the following error when I try to run bin\nant.exe [nant] tests/NAnt.VisualCpp/NAnt.VisualCpp.build test Buildfile: file:///E:/Projects/bilpool/nant/tests/NAnt.V isualCpp/NAnt.VisualCpp.build build: test: [nunit2] Tests run: 8, Failures: 8, Not run: 0, Time: 1,351944 seconds Failures: 1) Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld.Test_HelloWorldC ompile : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld.Test_HelloWor ldCompile() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs :line 64 2) Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildA ll : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui ldAll() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs:lin e 139 3) Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildN othingChanged : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui ldNothingChanged() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTask Test.cs:line 151 4) Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildS ourceChanged : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui ldAll() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs:lin e 139 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui ldSourceChanged() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskT est.cs:line 159 5) Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_HelloWorld.Test_HelloWorl d : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_HelloWorld.Test_HelloW orld() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\LinkTaskTest.cs:li ne 73 6) Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_CompileOnDemand.Test_Buil dAll : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_CompileOnDemand.Test_B uildAll() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\LinkTaskTest.cs :line 171 7) Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_CompileOnDemand.Test_Buil dNothingChanged : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_CompileOnDemand.Test_B uildNothingChanged() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\Link TaskTest.cs:line 182 8) Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_CompileOnDemand.Test_Buil dSourceChanged : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildT
[Nant-users] help with ASP.NET builds
On my box which has both 1.0 and 1.1 CLR versions on it, I can successfully build Windows applications with NANT but get this error when building a simple ASP.NET page: NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net settings warning: frameworkinfo mono-1.0 is invalid and has not been loaded: frameworkDir C:\Program Files\Mono-0.25\bin does not exist settings warning: frameworkinfo sscli-1.0 is invalid and has not been loaded: frameworkDir C:\sscli\build\v1.x86fstchk.rotor does not exist Buildfile: file:///C:/Inetpub/wwwroot/TestNant/default.build Base Directory: C:\Inetpub\wwwroot\TestNant. [tstamp] Wednesday, October 08, 2003 10:49:15 AM. clean: [delete] Deleting directory C:\Inetpub\wwwroot\TestNant\bin. [delete] Deleting directory C:\Inetpub\wwwroot\TestNant\bin\debug. [delete] Deleting directory C:\Inetpub\wwwroot\TestNant\bin\release. [delete] Deleting directory C:\Inetpub\wwwroot\TestNant\bin. [delete] Deleting directory C:\Inetpub\wwwroot\TestNant\src. [delete] Deleting directory C:\Inetpub\wwwroot\TestNant\src. [mkdir] Creating directory C:\Inetpub\wwwroot\TestNant\src. [mkdir] Creating directory C:\Inetpub\wwwroot\TestNant\bin. [mkdir] Creating directory C:\Inetpub\wwwroot\TestNant\bin\debug. [mkdir] Creating directory C:\Inetpub\wwwroot\TestNant\bin\release. build: [solution] Starting solution build. [solution] Included projects: [solution] - C:\Inetpub\wwwroot\TestNant\TestNant.csproj [solution] Reference projects: [solution] Building TestNant [release]... [solution] Copying references: [solution] - System.Web [solution] - System [solution] - System.Data [solution] - System.Drawing [solution] - System.XML [solution] Compiling resources: [solution] - C:\Inetpub\wwwroot\TestNant\t.aspx.resx Total time: 0 seconds. BUILD FAILED The SDK directory for the net-1.0 framework is not available or not configured.: NAnt.Core.BuildException: The SDK directory for the net-1.0 framework is not available or not configured. at NAnt.DotNet.Tasks.SdkExternalProgramBase.DetermineFilePath() at NAnt.DotNet.Tasks.SdkExternalProgramBase.get_ProgramFileName() at NAnt.Core.Tasks.ExternalProgramBase.PrepareProcess(Process process) at NAnt.Core.Tasks.ExternalProgramBase.StartProcess() at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask() at NAnt.DotNet.Tasks.ResGenTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.VSNet.Tasks.Resource.CompileResx() at NAnt.VSNet.Tasks.Resource.Compile(ConfigurationSettings cs, Boolean bShowCommands) at NAnt.VSNet.Tasks.Project.Compile(String strConfiguration, ArrayList alCSCArguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands) at NAnt.VSNet.Tasks.Solution.Compile(String strConfiguration, ArrayList alCSCArguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands) at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() "WorldSecure " made the following annotations on 10/08/03 14:00:55 -- The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information or copying of this message is prohibited. If you are not the intended addressee, please notify the sender immediately and delete this message. ==
[Nant-users] slingshot task - problem
hi folks, i have a problem with the slingshot task. i'm using this little tool to convert my solution files to nant buildfiles. the problem is the following: if i'm using slingshot from the commandline, all works fine. but if i use slingshot with the corresponding nant task like this. << snip >> << snip >> i get the following error: Buildfile: ... Target(s) specified: render-buildscript render-buildscript: [slingshot] Converting C:\alex_work\tmp\working\ST4.Client.sln to client.build using nant format [slingshot] -- option = C:\temp BUILD FAILED The option 'build.basedir' is required. Total time: 0.3 seconds. but the parameter "option" is set in my buildfile thx in advance alex --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [Nant-users] slingshot task - problem
Alex, This is a know issue which is fixed in cvs. Can you use the latest nightly build of NAnt (http://nant.sourceforge.net/nightly/builds) and NAntContrib (http://nantcontrib.sourceforge.net/nightly/builds) instead ? Thanks, Gert - Original Message - From: "Eckert, Alexander" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED] Sourceforge. Net (E-Mail)" <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 2:16 PM Subject: [Nant-users] slingshot task - problem hi folks, i have a problem with the slingshot task. i'm using this little tool to convert my solution files to nant buildfiles. the problem is the following: if i'm using slingshot from the commandline, all works fine. but if i use slingshot with the corresponding nant task like this. << snip >> << snip >> i get the following error: Buildfile: ... Target(s) specified: render-buildscript render-buildscript: [slingshot] Converting C:\alex_work\tmp\working\ST4.Client.sln to client.build using nant format [slingshot] -- option = C:\temp BUILD FAILED The option 'build.basedir' is required. Total time: 0.3 seconds. but the parameter "option" is set in my buildfile thx in advance alex --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
AW: [Nant-users] slingshot task - problem
ok, i will try the nightly builds. are there any known problems with the builds? alex -Ursprüngliche Nachricht- Von: Gert Driesen [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 9. Oktober 2003 14:23 An: Eckert, Alexander; [EMAIL PROTECTED] Sourceforge. Net (E-Mail) Betreff: Re: [Nant-users] slingshot task - problem Alex, This is a know issue which is fixed in cvs. Can you use the latest nightly build of NAnt (http://nant.sourceforge.net/nightly/builds) and NAntContrib (http://nantcontrib.sourceforge.net/nightly/builds) instead ? Thanks, Gert - Original Message - From: "Eckert, Alexander" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED] Sourceforge. Net (E-Mail)" <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 2:16 PM Subject: [Nant-users] slingshot task - problem hi folks, i have a problem with the slingshot task. i'm using this little tool to convert my solution files to nant buildfiles. the problem is the following: if i'm using slingshot from the commandline, all works fine. but if i use slingshot with the corresponding nant task like this. << snip >> << snip >> i get the following error: Buildfile: ... Target(s) specified: render-buildscript render-buildscript: [slingshot] Converting C:\alex_work\tmp\working\ST4.Client.sln to client.build using nant format [slingshot] -- option = C:\temp BUILD FAILED The option 'build.basedir' is required. Total time: 0.3 seconds. but the parameter "option" is set in my buildfile thx in advance alex --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [Nant-users] slingshot task - problem
Well, the solution task still has some issues, but in general the 0.8.4 nightly builds are more stable than the 0.8.3 release :-) Gert - Original Message - From: "Eckert, Alexander" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]>; "[EMAIL PROTECTED] Sourceforge. Net (E-Mail)" <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 2:38 PM Subject: AW: [Nant-users] slingshot task - problem ok, i will try the nightly builds. are there any known problems with the builds? alex -Ursprüngliche Nachricht- Von: Gert Driesen [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 9. Oktober 2003 14:23 An: Eckert, Alexander; [EMAIL PROTECTED] Sourceforge. Net (E-Mail) Betreff: Re: [Nant-users] slingshot task - problem Alex, This is a know issue which is fixed in cvs. Can you use the latest nightly build of NAnt (http://nant.sourceforge.net/nightly/builds) and NAntContrib (http://nantcontrib.sourceforge.net/nightly/builds) instead ? Thanks, Gert - Original Message - From: "Eckert, Alexander" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED] Sourceforge. Net (E-Mail)" <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 2:16 PM Subject: [Nant-users] slingshot task - problem hi folks, i have a problem with the slingshot task. i'm using this little tool to convert my solution files to nant buildfiles. the problem is the following: if i'm using slingshot from the commandline, all works fine. but if i use slingshot with the corresponding nant task like this. << snip >> << snip >> i get the following error: Buildfile: ... Target(s) specified: render-buildscript render-buildscript: [slingshot] Converting C:\alex_work\tmp\working\ST4.Client.sln to client.build using nant format [slingshot] -- option = C:\temp BUILD FAILED The option 'build.basedir' is required. Total time: 0.3 seconds. but the parameter "option" is set in my buildfile thx in advance alex --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
AW: [Nant-users] slingshot task - problem
hi gert, i compiled the nightly builds and the slingshot task work fine now. nice, thx for the tip... greetz alex -Ursprüngliche Nachricht- Von: Gert Driesen [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 9. Oktober 2003 15:00 An: Eckert, Alexander; [EMAIL PROTECTED] Sourceforge. Net (E-Mail) Betreff: Re: [Nant-users] slingshot task - problem Well, the solution task still has some issues, but in general the 0.8.4 nightly builds are more stable than the 0.8.3 release :-) Gert - Original Message - From: "Eckert, Alexander" <[EMAIL PROTECTED]> To: "Gert Driesen" <[EMAIL PROTECTED]>; "[EMAIL PROTECTED] Sourceforge. Net (E-Mail)" <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 2:38 PM Subject: AW: [Nant-users] slingshot task - problem ok, i will try the nightly builds. are there any known problems with the builds? alex -Ursprüngliche Nachricht- Von: Gert Driesen [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 9. Oktober 2003 14:23 An: Eckert, Alexander; [EMAIL PROTECTED] Sourceforge. Net (E-Mail) Betreff: Re: [Nant-users] slingshot task - problem Alex, This is a know issue which is fixed in cvs. Can you use the latest nightly build of NAnt (http://nant.sourceforge.net/nightly/builds) and NAntContrib (http://nantcontrib.sourceforge.net/nightly/builds) instead ? Thanks, Gert - Original Message - From: "Eckert, Alexander" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED] Sourceforge. Net (E-Mail)" <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 2:16 PM Subject: [Nant-users] slingshot task - problem hi folks, i have a problem with the slingshot task. i'm using this little tool to convert my solution files to nant buildfiles. the problem is the following: if i'm using slingshot from the commandline, all works fine. but if i use slingshot with the corresponding nant task like this. << snip >> << snip >> i get the following error: Buildfile: ... Target(s) specified: render-buildscript render-buildscript: [slingshot] Converting C:\alex_work\tmp\working\ST4.Client.sln to client.build using nant format [slingshot] -- option = C:\temp BUILD FAILED The option 'build.basedir' is required. Total time: 0.3 seconds. but the parameter "option" is set in my buildfile thx in advance alex --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [Nant-users] Failures: Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld
This means that the Visual C++ commandline tools, or libraries are not in your path. You can fix this by executing "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat" in the command prompt sessions in which you're launching the NAnt build But in fact you don't really have to, the NAnt that was build is fully functional ... Gert - Original Message - From: "Michael Håkansson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 12:15 PM Subject: [Nant-users] Failures: Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld I det the following error when I try to run bin\nant.exe [nant] tests/NAnt.VisualCpp/NAnt.VisualCpp.build test Buildfile: file:///E:/Projects/bilpool/nant/tests/NAnt.V isualCpp/NAnt.VisualCpp.build build: test: [nunit2] Tests run: 8, Failures: 8, Not run: 0, Time: 1,351944 seconds Failures: 1) Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld.Test_HelloWorldC ompile : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld.Test_HelloWor ldCompile() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs :line 64 2) Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildA ll : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui ldAll() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs:lin e 139 3) Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildN othingChanged : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui ldNothingChanged() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTask Test.cs:line 151 4) Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildS ourceChanged : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui ldAll() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs:lin e 139 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui ldSourceChanged() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskT est.cs:line 159 5) Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_HelloWorld.Test_HelloWorl d : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_HelloWorld.Test_HelloW orld() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\LinkTaskTest.cs:li ne 73 6) Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_CompileOnDemand.Test_Buil dAll : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_CompileOnDemand.Test_B uildAll() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\LinkTaskTest.cs :line 171 7) Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_CompileOnDemand.Test_Buil dNothingChanged : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTest
[Nant-users] NUnit2 and the latest nant (cvs and nightlies)
Hi, I have gotten the latest stuff from cvs which includes the new Nunit2 2.1.4 integration, and something seems to have gone wrong. Where previously I specified a NUnit2/Test/Testname which took 20 seconds to run, the same testname now goes on indefinitely with no output whatsoever. I also tried it with the latest nightly, same result. Is the ability to specify which test to run in an assembly broken? Also, what's with the missing output? Any clues? -- Daniel smime.p7s Description: S/MIME Cryptographic Signature
Re: [Nant-users] NUnit2 and the latest nant (cvs and nightlies)
Daniel, What output are you missing ? I changed the way the nunit2 task is working with regards to the output results xml file, if you want the output result you need to specify a formatter for the output format you want. when you want the output of the tests to be available in xml format (persisted to a file), you use : when you want output in plain text format, you use : However, I think you may have encountered another issue... I'll do some tests with NUnit 2.1 later today ... Gert - Original Message - From: "Daniel Granath" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 5:55 PM Subject: [Nant-users] NUnit2 and the latest nant (cvs and nightlies) > Hi, > > I have gotten the latest stuff from cvs which includes the new Nunit2 > 2.1.4 integration, and something seems to have gone wrong. > Where previously I specified a NUnit2/Test/Testname which took 20 > seconds to run, the same testname now goes on indefinitely with no > output whatsoever. I also tried it with the latest nightly, same result. > Is the ability to specify which test to run in an assembly broken? Also, > what's with the missing output? > Any clues? > > -- > Daniel > --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [Nant-users] Failures: Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld
I wonder if we could make this a bit nicer. There is an easy enough work-around but for every person asking this question on the list the are probably a few others giving up on using the tool. The quick and dirty way is to skip those tests by default. It would be nicer to try to detect the location of cl.exe - may not be so easy to do. Ian Gert Driesen wrote: This means that the Visual C++ commandline tools, or libraries are not in your path. You can fix this by executing "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat" in the command prompt sessions in which you're launching the NAnt build But in fact you don't really have to, the NAnt that was build is fully functional ... Gert - Original Message - From: "Michael Håkansson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 12:15 PM Subject: [Nant-users] Failures: Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld I det the following error when I try to run bin\nant.exe [nant] tests/NAnt.VisualCpp/NAnt.VisualCpp.build test Buildfile: file:///E:/Projects/bilpool/nant/tests/NAnt.V isualCpp/NAnt.VisualCpp.build build: test: [nunit2] Tests run: 8, Failures: 8, Not run: 0, Time: 1,351944 seconds Failures: 1) Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld.Test_HelloWorldC ompile : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld.Test_HelloWor ldCompile() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs :line 64 2) Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildA ll : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui ldAll() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs:lin e 139 3) Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildN othingChanged : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui ldNothingChanged() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTask Test.cs:line 151 4) Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildS ourceChanged : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui ldAll() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs:lin e 139 at Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui ldSourceChanged() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskT est.cs:line 159 5) Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_HelloWorld.Test_HelloWorl d : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_HelloWorld.Test_HelloW orld() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\LinkTaskTest.cs:li ne 73 6) Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_CompileOnDemand.Test_Buil dAll : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in E:\ Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in E:\Proje cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_CompileOnDemand.Test_B uildAll() in E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\LinkTaskTest.cs :line 171 7) Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_CompileOnDemand.
AW: [Nant-users] Failures: Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld
hi, i had the same problem. try the current daily builds for nant and nantContrib. they compiled nicely without any errors. hope it works for you... http://nant.sourceforge.net/nightly/builds http://nantcontrib.sourceforge.net/nightly/builds greetz alex -Ursprüngliche Nachricht- Von: Ian MacLean [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 9. Oktober 2003 17:05 An: Gert Driesen Cc: Michael Håkansson; [EMAIL PROTECTED] Betreff: Re: [Nant-users] Failures: Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld I wonder if we could make this a bit nicer. There is an easy enough work-around but for every person asking this question on the list the are probably a few others giving up on using the tool. The quick and dirty way is to skip those tests by default. It would be nicer to try to detect the location of cl.exe - may not be so easy to do. Ian Gert Driesen wrote: >This means that the Visual C++ commandline tools, or libraries are not in >your path. > >You can fix this by executing "C:\Program Files\Microsoft Visual Studio .NET >2003\Common7\Tools\vsvars32.bat" in the command prompt sessions in which >you're launching the NAnt build > >But in fact you don't really have to, the NAnt that was build is fully >functional ... > >Gert > >- Original Message - >From: "Michael Håkansson" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, October 09, 2003 12:15 PM >Subject: [Nant-users] Failures: >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld > > >I det the following error when I try to run bin\nant.exe > > > [nant] tests/NAnt.VisualCpp/NAnt.VisualCpp.build test > >Buildfile: >file:///E:/Projects/bilpool/nant/tests/NAnt.V >isualCpp/NAnt.VisualCpp.build > >build: > > >test: > > [nunit2] Tests run: 8, Failures: 8, Not run: 0, >Time: > 1,351944 seconds > >Failures: >1) >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld.Test_HelloWorldC >ompile : Error Executing Project > at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in >E:\ >Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 > at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in >E:\Proje >cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 > at >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld.Test_HelloWor >ldCompile() in >E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs >:line 64 > >2) >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildA >ll : Error Executing Project > at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in >E:\ >Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 > at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in >E:\Proje >cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 > at >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui >ldAll() in >E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs:lin >e 139 > >3) >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildN >othingChanged : Error Executing Project > at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in >E:\ >Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 > at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in >E:\Proje >cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 > at >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui >ldNothingChanged() in >E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTask >Test.cs:line 151 > >4) >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildS >ourceChanged : Error Executing Project > at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in >E:\ >Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 > at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in >E:\Proje >cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 > at >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui >ldAll() in >E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs:lin >e 139 > at >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui >ldSourceChanged() in >E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskT >est.cs:line 159 > >5) >Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_HelloWorld.Test_HelloWorl >d : Error Executing Project > at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in >E:\ >Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 > at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in >E:\Proje >cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 > at >Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_HelloWorld.Test_HelloW >orld() in >E:\Projects\bilpool\nant\
Re: [Nant-users] task
And now they have it - just committed. The flatten attribute combined with todir will copy/move the files to todir ignoring the structure of the source tree. Let me know if there are any problems with it, Ian The copy and move tasks need a flatten attribute - the same a Ant has. This would grab all files anywhere on the seleted tree and put them all in the same target directory. Ian Eric Fetzer wrote: Is there a way to copy files to a specific directory using fileset rather than copying relatively under that directory. In other words: If he finds C:\MyOtherApp\project\lib\bin\myDll.dll, he'll put it directly in C:\MyApp rather than in C:\MyApp\project\lib\bin\myDll.dll. Thanks, Eric __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [Nant-users] Failures: Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld
> - Original Message - > From: "Ian MacLean" <[EMAIL PROTECTED]> > To: "Gert Driesen" <[EMAIL PROTECTED]> > Cc: "Michael Håkansson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Thursday, October 09, 2003 5:04 PM > Subject: Re: [Nant-users] Failures: Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld > > I wonder if we could make this a bit nicer. There is an easy enough > work-around but for every person asking this question on the list the > are probably a few others giving up on using the tool. > The quick and dirty way is to skip those tests by default. It would be > nicer to try to detect the location of cl.exe - may not be so easy to do. No I don't think its very easy, and I don't think its enough to locate the commandline tools as I encoutered this issue too when setting up Draco.NET on my system... when using Draco.NET, NAnt is executed from a Windows service, and as such, I had to add a whole bunch of directories to the system PATH and I also had to create a few new system environment variables for the libs and includes before the NAnt Visual C++ tests actually worked ... just adding the necessary directories to the PATH resulted in other errors ... However, I agree that we should somehow find a solution for this problem ... Gert > > > > Ian > > Gert Driesen wrote: > > >This means that the Visual C++ commandline tools, or libraries are not in > >your path. > > > >You can fix this by executing "C:\Program Files\Microsoft Visual Studio .NET > >2003\Common7\Tools\vsvars32.bat" in the command prompt sessions in which > >you're launching the NAnt build > > > >But in fact you don't really have to, the NAnt that was build is fully > >functional ... > > > >Gert --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
RE: [Nant-users] Failures: Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld
- New user here - I was just about to toss DracoNET/NAnt when I read this thread. Good thing I subscribed. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian MacLean Sent: Thursday, October 09, 2003 8:05 AM To: Gert Driesen Cc: Michael Håkansson; [EMAIL PROTECTED] Subject: Re: [Nant-users] Failures: Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld I wonder if we could make this a bit nicer. There is an easy enough work-around but for every person asking this question on the list the are probably a few others giving up on using the tool. The quick and dirty way is to skip those tests by default. It would be nicer to try to detect the location of cl.exe - may not be so easy to do. Ian Gert Driesen wrote: >This means that the Visual C++ commandline tools, or libraries are not in >your path. > >You can fix this by executing "C:\Program Files\Microsoft Visual Studio .NET >2003\Common7\Tools\vsvars32.bat" in the command prompt sessions in which >you're launching the NAnt build > >But in fact you don't really have to, the NAnt that was build is fully >functional ... > >Gert > >- Original Message - >From: "Michael Håkansson" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, October 09, 2003 12:15 PM >Subject: [Nant-users] Failures: >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld > > >I det the following error when I try to run bin\nant.exe > > > [nant] tests/NAnt.VisualCpp/NAnt.VisualCpp.build test > >Buildfile: >file:///E:/Projects/bilpool/nant/tests/NAnt.V >isualCpp/NAnt.VisualCpp.build > >build: > > >test: > > [nunit2] Tests run: 8, Failures: 8, Not run: 0, >Time: > 1,351944 seconds > >Failures: >1) >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld.Test_HelloWorldC >ompile : Error Executing Project > at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in >E:\ >Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 > at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in >E:\Proje >cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 > at >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld.Test_HelloWor >ldCompile() in >E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs >:line 64 > >2) >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildA >ll : Error Executing Project > at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in >E:\ >Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 > at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in >E:\Proje >cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 > at >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui >ldAll() in >E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs:lin >e 139 > >3) >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildN >othingChanged : Error Executing Project > at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in >E:\ >Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 > at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in >E:\Proje >cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 > at >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui >ldNothingChanged() in >E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTask >Test.cs:line 151 > >4) >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_BuildS >ourceChanged : Error Executing Project > at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in >E:\ >Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 > at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in >E:\Proje >cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 > at >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui >ldAll() in >E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskTest.cs:lin >e 139 > at >Tests.NAnt.VisualCpp.Tasks.ClTaskTest_CompileOnDemand.Test_Bui >ldSourceChanged() in >E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\ClTaskT >est.cs:line 159 > >5) >Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_HelloWorld.Test_HelloWorl >d : Error Executing Project > at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in >E:\ >Projects\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 > at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in >E:\Proje >cts\bilpool\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 > at >Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_HelloWorld.Test_HelloW >orld() in >E:\Projects\bilpool\nant\tests\NAnt.VisualCpp\Tasks\LinkTaskTest.cs:li >ne 73 > >6) >Tests.NAnt.VisualCpp.Tasks.LinkTaskTest_CompileOnDe
Re: [Nant-users] Failures: Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld
Gert: >However, I agree that we should somehow find a solution for this problem ... What if those tests were marked with the [Ignore] attrbute? That way it will be clear that they are there (as they will show up in the NUnit output as warnings) and then those who wish to run them, can simply unmark them. Best, Bill William E. Caputo ThoughtWorks, Inc. A Plan is a list of things that don't happen http://www.twelve71.com/caputo/ --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [Nant-users] Nunit2 Task with 'No TestFixtures' Error
Following up on that,i have compiled my assemblies using 2.1 nunit.framework.dll .Iam using Nant version 0.8.4,(from nightly build dated nant-20030928). Iam using nunit2 task.. When i run my nunit task it now says that it says file or assembly name nunit.framework,or one of its dependencies , was not found. How do i resolve this.please follow up. Thanx Arif. From: Ian MacLean <[EMAIL PROTECTED]> To: Gert Driesen <[EMAIL PROTECTED]> CC: arif mohammed <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: Re: [Nant-users] Nunit2 Task with 'No TestFixtures' Error Date: Thu, 09 Oct 2003 11:22:48 +0900 ie - you'll need to recompile the test assemblies and they will work. Assuming you compile them against 2.1 nunit.framework.dll that is. Ian Gert Driesen wrote: Arif, What version of NAnt are you using ? Ian very recently checked in support for NUnit 2.1 into NAnt. Assemblies compiled with NUnit 2.0 framework will not work when using the NUnit 2.1 framework (which the cvs version of NAnt uses). Gert - Original Message - From: "arif mohammed" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 08, 2003 9:21 PM Subject: [Nant-users] Nunit2 Task with 'No TestFixtures' Error Hi , I have Nunit 2.0 Framework and iam using the nuni2 task ..When i run ,i get the following error.. NUnit 2.0 Error: D:\Temp\AESTest\Common\Message\bin\Release\AES.Common.Message.dll has no TestFixtures Can anyone help if they ran into a similar problem.. Please help if u guys can. Thanx a bunch. Arif. _ Add MSN 8 Internet Software to your existing Internet access and enjoy patented spam protection and more. Sign up now! http://join.msn.com/?page=dept/byoa --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users _ Get McAfee virus scanning and cleaning of incoming attachments. Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [Nant-users] Nunit2 Task with 'No TestFixtures' Error
Nant 0.8.4. Nunit2.1 , Nunit2 Task After going through the mail archives,i copied the nunit.framework.dll from nant/bin folder to the folder where my Test Case Assembly resides and ran the task again ,then it throws the same error as earlier.. > NUnit 2.0 Error: > D:\Temp\AESTest\Common\Message\bin\Release\AES.Common.Message.dll has no > TestFixtures. I have no clue.which version of nant ,which version of nunit,and any steps thereafter... Thanx Arif. From: "Gert Driesen" <[EMAIL PROTECTED]> To: "arif mohammed" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> Subject: Re: [Nant-users] Nunit2 Task with 'No TestFixtures' Error Date: Wed, 8 Oct 2003 21:38:39 +0200 Arif, What version of NAnt are you using ? Ian very recently checked in support for NUnit 2.1 into NAnt. Assemblies compiled with NUnit 2.0 framework will not work when using the NUnit 2.1 framework (which the cvs version of NAnt uses). Gert - Original Message - From: "arif mohammed" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 08, 2003 9:21 PM Subject: [Nant-users] Nunit2 Task with 'No TestFixtures' Error > > Hi , > I have Nunit 2.0 Framework and iam using the nuni2 task ..When i run ,i > get the following error.. > > NUnit 2.0 Error: > D:\Temp\AESTest\Common\Message\bin\Release\AES.Common.Message.dll has no > TestFixtures > > Can anyone help if they ran into a similar problem.. > > Please help if u guys can. > > Thanx a bunch. > Arif. > > _ > Add MSN 8 Internet Software to your existing Internet access and enjoy > patented spam protection and more. Sign up now! > http://join.msn.com/?page=dept/byoa > > > > --- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > ___ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > > --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users _ Instant message with integrated webcam using MSN Messenger 6.0. Try it now FREE! http://msnmessenger-download.com --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
[Nant-users] Solution task Problem
Title: [Nant-users] Solution task Problem Hi all I try use Solution task and got >INTERNAL ERROR > System.NullReferenceException: Object reference not set to an instance of an object. Log attached Regards, Dmitry Bezuglyy [EMAIL PROTECTED] NAnt version 0.8.4 Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Framework net-1.2 is invalid and has not been loaded : Framework directory C:\WINDOWS\Microsoft.NET\Framework\v1.2.30703 does not exist. Framework mono-1.0 is invalid and has not been loaded : Property 'sdkInstallRoot' has not been set. Framework mono-1.0-linux is invalid and has not been loaded : Framework directory /usr/local/bin does not exist. Framework sscli-1.0 is invalid and has not been loaded : Framework directory C:\sscli\build\v1.x86fstchk.rotor does not exist. Buildfile: file:///C:/aCRM/src/Core/default.build Base Directory: C:\aCRM\src\Core. Target(s) specified: build [echo] Using 'net-1.1' Framework Build sequence for target `build' is build Complete build sequence is build build: [solution] Starting solution build. [solution] Included projects: [solution] - C:\aCRM\src\Core\Oblik.Core.Communication\Oblik.Core.Communication.csproj [solution] Reference projects: [solution] - C:\aCRM\src\OperationManagment\Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces\Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.csproj [solution] - C:\aCRM\src\OperationManagment\Microsoft.ApplicationBlocks.ExceptionManagement\Microsoft.ApplicationBlocks.ExceptionManagement.csproj [solution] - C:\aCRM\src\OperationManagment\Oblik.Diagnostics\Oblik.Diagnostics.csproj [solution] - C:\aCRM\src\Core\Oblik.Core.Security.SSPI\Oblik.Core.Security.SSPI.vcproj [solution] Loading projects... [solution] Loading project 'C:\aCRM\src\Core\Oblik.Core.Security.SSPI\Oblik.Core.Security.SSPI.vcproj'. [solution] Loading project 'C:\aCRM\src\OperationManagment\Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces\Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.csproj'. [solution] Loading project 'C:\aCRM\src\OperationManagment\Microsoft.ApplicationBlocks.ExceptionManagement\Microsoft.ApplicationBlocks.ExceptionManagement.csproj'. [solution] Loading project 'C:\aCRM\src\OperationManagment\Oblik.Diagnostics\Oblik.Diagnostics.csproj'. [solution] Loading project 'C:\aCRM\src\Core\Oblik.Core.Communication\Oblik.Core.Communication.csproj'. BUILD FAILED INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance of an object. at NAnt.VSNet.ProjectSettings..ctor(XmlElement elemRoot, XmlElement elemSettings, TempFileCollection tfc) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpC7.tmp\src\NAnt.VSNet\ProjectSettings.cs:line 44 at NAnt.VSNet.Project.Load(Solution sln, String fileName) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpC7.tmp\src\NAnt.VSNet\Project.cs:line 127 at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlElement elemReference, SolutionTask solutionTask, String outputDir) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpC7.tmp\src\NAnt.VSNet\Reference.cs:line 57 at NAnt.VSNet.Project.Load(Solution sln, String fileName) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpC7.tmp\src\NAnt.VSNet\Project.cs:line 159 at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection tfc, String outputDir, String path) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpC7.tmp\src\NAnt.VSNet\ProjectFactory.cs:line 39 at NAnt.VSNet.Solution.LoadProjects() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpC7.tmp\src\NAnt.VSNet\Solution.cs:line 367 at NAnt.VSNet.Solution..ctor(ArrayList projects, ArrayList referenceProjects, TempFileCollection tfc, SolutionTask solutionTask, WebMapCollection webMaps, FileSet excludesProjects, String outputDir) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpC7.tmp\src\NAnt.VSNet\Solution.cs:line 130 at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpC7.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 286 at NAnt.Core.Task.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpC7.tmp\src\NAnt.Core\Task.cs:line 150 at NAnt.Core.Target.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpC7.tmp\src\NAnt.Core\Target.cs:line 206 at NAnt.Core.Project.Execute(String targetName) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpC7.tmp\src\NAnt.Core\Project.cs:line 698 at NAnt.Core.Project.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpC7.tmp\src\NAnt.Core\Project.cs:line 674 at NAnt.Core.Project.Run() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmpC7.tmp\src\NAnt.Core\Project.cs:line 723 Please send bug report to [EMAIL PROTECTED] Total time: 0.7 seconds.
Re: [Nant-users] Failures: Tests.NAnt.VisualCpp.Tasks.ClTaskTest_HelloWorld
Good idea. Is there a way to force [Ignore]d tests to run ? It would be nice to have the regular build run the core tests and then a 'test-all' target that forces any questionable ones to run. Our test output should probably also indicate the source of the problem - ie 'cl.exe not detected on the current path' or somthing like that. Ian William E Caputo wrote: Gert: However, I agree that we should somehow find a solution for this problem ... What if those tests were marked with the [Ignore] attrbute? That way it will be clear that they are there (as they will show up in the NUnit output as warnings) and then those who wish to run them, can simply unmark them. Best, Bill William E. Caputo ThoughtWorks, Inc. A Plan is a list of things that don't happen http://www.twelve71.com/caputo/ --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
Re: [Nant-users] NUnit2 and the latest nant (cvs and nightlies)
I'm not talking about the test logs which nunit produce, (although I don't get them either in these latest builds). The 'outputdir' fix you made was working perfectly before I tried these new builds. I'm talking about output which you write to stdout in the testcases themself, like using System.Console.WriteLine("..."). But more importantly like I said, tests which in prevous builds took a couple of seconds to run now takes forever (I haven't actually waited that long, but long enough to detect that something's wrong...) -- Daniel Gert Driesen wrote: Daniel, What output are you missing ? I changed the way the nunit2 task is working with regards to the output results xml file, if you want the output result you need to specify a formatter for the output format you want. when you want the output of the tests to be available in xml format (persisted to a file), you use : when you want output in plain text format, you use : However, I think you may have encountered another issue... I'll do some tests with NUnit 2.1 later today ... Gert - Original Message - From: "Daniel Granath" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 5:55 PM Subject: [Nant-users] NUnit2 and the latest nant (cvs and nightlies) Hi, I have gotten the latest stuff from cvs which includes the new Nunit2 2.1.4 integration, and something seems to have gone wrong. Where previously I specified a NUnit2/Test/Testname which took 20 seconds to run, the same testname now goes on indefinitely with no output whatsoever. I also tried it with the latest nightly, same result. Is the ability to specify which test to run in an assembly broken? Also, what's with the missing output? Any clues? -- Daniel --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users -- Daniel smime.p7s Description: S/MIME Cryptographic Signature
Re: [Nant-users] NUnit2 and the latest nant (cvs and nightlies)
Daniel, Would it be possible to put together a small sample of tests that hang like this. All the tests inside nant itself run fine. Actually could you verify that this is the case on your machine by running : nant test thanks, Ian I'm not talking about the test logs which nunit produce, (although I don't get them either in these latest builds). The 'outputdir' fix you made was working perfectly before I tried these new builds. I'm talking about output which you write to stdout in the testcases themself, like using System.Console.WriteLine("..."). But more importantly like I said, tests which in prevous builds took a couple of seconds to run now takes forever (I haven't actually waited that long, but long enough to detect that something's wrong...) -- Daniel Gert Driesen wrote: Daniel, What output are you missing ? I changed the way the nunit2 task is working with regards to the output results xml file, if you want the output result you need to specify a formatter for the output format you want. when you want the output of the tests to be available in xml format (persisted to a file), you use : when you want output in plain text format, you use : However, I think you may have encountered another issue... I'll do some tests with NUnit 2.1 later today ... Gert - Original Message - From: "Daniel Granath" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 5:55 PM Subject: [Nant-users] NUnit2 and the latest nant (cvs and nightlies) Hi, I have gotten the latest stuff from cvs which includes the new Nunit2 2.1.4 integration, and something seems to have gone wrong. Where previously I specified a NUnit2/Test/Testname which took 20 seconds to run, the same testname now goes on indefinitely with no output whatsoever. I also tried it with the latest nightly, same result. Is the ability to specify which test to run in an assembly broken? Also, what's with the missing output? Any clues? -- Daniel --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users --- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ___ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users