I got it to stop crashing by excluding the projects that did not have the required build configuration. (Obviously, it would help if 1) it didn't crash if you had a project in with the wrong config, and 2) that if such a project was present that it either didn't include it or at least told you info that helped debug.
Unfortunantly, that wasn't enough to get me going. Here is what I get now: C:\src\devtrunk\FullTilt\FT_Client>\src\nant-0.85-nightly-2005-03-22\build\n et-1 .1.win32\nant-0.85-debug\bin\NAnt.exe release_pro NAnt 0.85 (Build 0.85.1908.0; dev; 3/23/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/src/devtrunk/FullTilt/FT_Client/client.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: release_pro release_pro: [solution] Starting solution build. [solution] Skipping 'FTC_Bots' [Release_Pro] ... [solution] Skipping 'FT_Net' [Release_Pro] ... [solution] Skipping 'FTC_Utils' [Release_Pro] ... [solution] Skipping 'FTD_Event' [Release_Pro] ... [solution] Skipping 'FT_Base' [Release_Pro] ... [solution] Skipping 'FTD_Mem_Client' [Release_Pro] ... [solution] Skipping 'FTC_Data' [Release_Pro] ... [solution] Skipping 'FTC_Lobby' [Release_Pro] ... [solution] Skipping 'FTC_Admin' [Release_Pro] ... BUILD SUCCEEDED Total time: 0.3 seconds. Why is it skipping all the projects I want built? Building this config works fine in VS.Net. Any clue what I might be doing wrong? Ray -----Original Message----- From: Ray Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 11:04 AM To: 'Gert Driesen'; '[email protected]' Subject: RE: [Nant-users] Bug in latest nant build... Well this is a somewhat large solution. Some of the projects within the solution do not have the build configuration I'm trying to build. Of course, I don't need those projects to be built in this particular build step. Not sure why it doesn't attempt to just skip those projects like VS.Net would. BTW, this did not crash like this in r5. However, it also doesn't provide much info about what is going wrong. (Like what project is missing a needed build configuration.) Also, in r5 it skipped everything and then claimed to succeed. I'll see what I can do about creating a self-contained repro - but I'm not sure where to start... Ray -----Original Message----- From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 8:15 AM To: [EMAIL PROTECTED]; [email protected] Subject: Re: [Nant-users] Bug in latest nant build... Ray, Can you verify whether the name of the build configuration that you specified on the <solution> task matches a build configuration for the project(s) that you're building ? A repro for this issue is definitely welcome. Gert ----- Original Message ----- From: "Ray Johnson" <[EMAIL PROTECTED]> To: <[email protected]>; <[email protected]> Sent: Wednesday, March 23, 2005 10:52 AM Subject: [Nant-users] Bug in latest nant build... > C:\src\devtrunk\FullTilt\FT_Client>\src\nant-0.85-nightly-2005-03-22\build\n > et-1 > .1.win32\nant-0.85-debug\bin\NAnt.exe debug_pro NAnt 0.85 (Build > 0.85.1908.0; dev; 3/23/2005) Copyright (C) 2001-2005 Gerry Shaw > http://nant.sourceforge.net > > Buildfile: file:///C:/src/devtrunk/FullTilt/FT_Client/client.build > Target framework: Microsoft .NET Framework 1.1 > Target(s) specified: debug_pro > > [setenv] Setting environment variable "LIB" to "C:\Program > Files\Microsoft Vi sual Studio .NET 2003\SDK\v1.1\Lib;C:\Program > Files\Microsoft Visual Studio > .NET > 2003\Vc7\lib;C:\Program Files\Microsoft Visual Studio .NET > 2003\Vc7\PlatformSDK > \Lib;C:\src\devtrunk\FullTilt\Lib;C:\src\devtrunk\FullTilt\FT_Client\Lib;C:\ > src\ > devtrunk\OpenSource\Lib\Client;C:\src\devtrunk\OpenSource\Lib". > > debug_pro: > > [solution] Starting solution build. > > BUILD FAILED > > INTERNAL ERROR > > System.NullReferenceException: Object reference not set to an instance > of an > obj > ect. > at NAnt.VSNet.SolutionBase.GetDependenciesFromProjects(String > buildConfig) in > > c:\src\nant-0.85-nightly-2005-03-22\src\NAnt.VSNet\SolutionBase.cs:lin > e 466 > at NAnt.VSNet.SolutionBase.Compile(String configuration) in > c:\src\nant-0.85- > nightly-2005-03-22\src\NAnt.VSNet\SolutionBase.cs:line 189 > at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in > c:\src\nant-0.85-nightly-20 > 05-03-22\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 401 > at NAnt.Core.Task.Execute() in > c:\src\nant-0.85-nightly-2005-03-22\src\NAnt.C > ore\Task.cs:line 177 > at NAnt.Core.Target.Execute() in > c:\src\nant-0.85-nightly-2005-03-22\src\NAnt > .Core\Target.cs:line 249 > at NAnt.Core.Project.Execute(String targetName, Boolean > forceDependencies) in > c:\src\nant-0.85-nightly-2005-03-22\src\NAnt.Core\Project.cs:line 887 > at NAnt.Core.Project.Execute() in > c:\src\nant-0.85-nightly-2005-03-22\src\NAn > t.Core\Project.cs:line 839 > at NAnt.Core.Project.Run() in > c:\src\nant-0.85-nightly-2005-03-22\src\NAnt.Co > re\Project.cs:line 924 > > Please send bug report to [EMAIL PROTECTED] > > Total time: 0.4 seconds. > > > I'm assuming more info about my project may also be needed? > > Ray > ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click _______________________________________________ Nant-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users
