Re: [nant-dev] Bug: Internal error
- Original Message - From: Ayende Rahien [EMAIL PROTECTED] To: 'Gert Driesen' [EMAIL PROTECTED] Sent: Thursday, September 09, 2004 8:06 AM Subject: RE: [nant-dev] Bug: Internal error Tried 08/09/2004 build, all is working great. Thanks! Another question, though, I want to put all my tests (the dll files) in one place, and the real code somewhere else, e.g: Bin\Tests Bin\Production My problem is that I get FileIOException when running the tests. Can you post the exact exception (stack trace) ? Is there a way to fix this? We could add support for assembly references (not sure why NUnit does not offer support for this out of the box), but I think we should discuss this with the NUnit Team first as we don't want to diverge from NUnit too much (in case we ever want to switch to use nunit-console or so). Gert --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] [ nant-Bugs-1020718 ] NUnit2 task doesn't catch unload exceptions
Bugs item #1020718, was opened at 2004-09-01 16:50 Message generated for change (Comment added) made by garyfx You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=1020718group_id=31650 Category: Tasks Group: 0.85 Status: Closed Resolution: Fixed Priority: 5 Submitted By: Gary Feldman (garyfx) Assigned to: Clayton Harbour (drakmar) Summary: NUnit2 task doesn't catch unload exceptions Initial Comment: If the domain loaded by the NUnit2 task throws an exception when unloading, the exception isn't caught by NAnt. This can happen, for example, when testing a server that doesn't shut down a listening thread, causing a cannot unwind stack exception from Unload. This doesn't happen in NUnit proper, because the Unload there is wrapped in a try-except block. I've patched it for myself by patching NUnit2Task.cs, but I'm not sure whether the best place for it is here or in NUnit2TestDomain.cs. I'd be glad to submit a patch for either place. Gary -- Comment By: Gary Feldman (garyfx) Date: 2004-09-09 10:18 Message: Logged In: YES user_id=847172 I've deployed this (the Sep 4 build) in our nightly build, and verified that it's now working as expected. Many thanks! Gary -- Comment By: Gert Driesen (drieseng) Date: 2004-09-04 01:16 Message: Logged In: YES user_id=707851 This is now fixed in cvs. Thanks for the report ! -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=1020718group_id=31650 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
cvs task exception: was RE: [nant-dev] Bug report as requested.
Hi Ian, Sorry this one slipped by me. It looks like you are using an older version of NAnt, there have been a number of improvements made since 0.84 and you can download a nightly build to take advantage of them. That being said it looks like the issue below is caused by a Repository file not existing in the path: C:\src\wrb\CVS\Repository Do you have the project checked out to path c:\src\wrb? Clayton -Original Message- From: Ian Ringrose [mailto:[EMAIL PROTECTED] Sent: Wed 9/8/2004 3:57 AM To: [EMAIL PROTECTED] Cc: Subject:[nant-dev] Bug report as requested. C:\src\wrb_build_testnant NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 26/12/2003) Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/src/wrb_build_test/wrb.build Target(s) specified: debug debug: BUILD FAILED INTERNAL ERROR System.IO.FileNotFoundException: path=[C:\src\wrb\Booking\bin]fileType=[Reposito ry]File not found. at ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchSingle(String path, FileTy pe fileType) at ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchFilesToUpdateRecursive(Arr ayList folders, String directory) at ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchFilesToUpdateRecursive(Arr ayList folders, String directory) at ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchFilesToUpdateRecursive(Arr ayList folders, String directory) at ICSharpCode.SharpCvsLib.FileSystem.Manager.FetchFilesToUpdate(String direc tory) at NAnt.SourceControl.Tasks.UpdateTask.PopulateFolders(WorkingDirectory worki ngDirectory) at NAnt.SourceControl.Tasks.UpdateTask.CreateCommand() at NAnt.SourceControl.Tasks.AbstractCvsTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Please send bug report to [EMAIL PROTECTED] Total time: 0.6 seconds. -- build file: project default='debug' property name=nant.settings.currentframework value=net-1.1/ target name='debug' cvs-update destination=.. cvsroot=:pserver:[EMAIL PROTECTED]:/cvsroot password=xxx module=wrb / solution solutionfile='ResourceBooking.sln' configuration='Debug' failonerror='false' / /target /project --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47alloc_id808op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Property Scoping
I'm in the process of implementing a parallel type task (similiar to the existing Ant task). I've pretty much got it working and was playing with it in our current build file. The first thing I found was that properties that are declared within a target are global in scope. Needless to say, this caused a lot of problems when targets began to run at the same time. I did a bit of snooping in the archives and found that at one point (http://www.mail-archive.com/[EMAIL PROTECTED]/msg03300.html) there was talk of having the ability to scope properties to a given target vs being global. Has this been implemented in any way? Thanks -andy --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] received this error while trying to build a solution
NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003) Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/SPE/SourceSS/Projects/smartpakequine/SPEWebSolution/BuildS cripts/SPEWebSolution.build Target(s) specified: releaseBuild releaseBuild: [solution] Starting solution build. BUILD FAILED INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance of an obj ect. at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlEleme nt elemReference, SolutionTask solutionTask, String outputDir) at NAnt.VSNet.Project.Load(Solution sln, String projectPath) at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection tfc, String outputDir, String path) at NAnt.VSNet.Solution.LoadProjects() at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList additionalPro jects, ArrayList referenceProjects, TempFileCollection tfc, SolutionTask solutio nTask, WebMapCollection webMappings, FileSet excludesProjects, String outputDir) at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Please send bug report to [EMAIL PROTECTED] -- This is the build file. ?xml version=1.0? project name=SPEWebSolution default=build property name=Host value=http://localhost / property name=Path value=C:\SPE\SourceSS\Projects\smartpakequine\SPEWebSolution\SPE.Web / property name=SPE.Web.Host value=${Host}/SPE.Web.csproj / property name=SPE.Web.Path value=${Path}\SPE.Web.csproj / target name=releaseBuild description=This builds a release version of www.smartpakequine.com solution configuration=release solutionfile=c:\spe\sourcess\Projects\smartpakequine\SPEWebSolution\SPEWEBSolution.sln webmap map url="">SPE.Web.Host} path=${SPE.Web.Path} / /webmap /solution /target /project Thanks, Gary Gary G. Smith Director of Software Development SmartPak Equine - Smarter Horse Care 40 Grissom Road, Suite 500 Plymouth, MA 02360 Direct Dial: (774) 773-1101 Main Number: (774) 773-1100 x101 Fax: (774) 773-1444 www.SmartPakEquine.com
Re: [nant-dev] received this error while trying to build a solution
Gary, I suggest using a recent nightly build of NAnt (http://nant.sourceforge.net/nightly/builds) as loads of issues have been fixed since the 0.84 release. Gert - Original Message - From: Gary Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 09, 2004 5:50 PM Subject: [nant-dev] received this error while trying to build a solution NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003) Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/SPE/SourceSS/Projects/smartpakequine/SPEWebSolution/BuildS cripts/SPEWebSolution.build Target(s) specified: releaseBuild releaseBuild: [solution] Starting solution build. BUILD FAILED INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance of an obj ect. at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlEleme nt elemReference, SolutionTask solutionTask, String outputDir) at NAnt.VSNet.Project.Load(Solution sln, String projectPath) at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection tfc, String outputDir, String path) at NAnt.VSNet.Solution.LoadProjects() at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList additionalPro jects, ArrayList referenceProjects, TempFileCollection tfc, SolutionTask solutio nTask, WebMapCollection webMappings, FileSet excludesProjects, String outputDir) at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Please send bug report to [EMAIL PROTECTED] -- This is the build file. ?xml version=1.0? project name=SPEWebSolution default=build property name=Host value=http://localhost; / property name=Path value=C:\SPE\SourceSS\Projects\smartpakequine\SPEWebSolution\SPE.Web / property name=SPE.Web.Host value=${Host}/SPE.Web.csproj / property name=SPE.Web.Path value=${Path}\SPE.Web.csproj / target name=releaseBuild description=This builds a release version of www.smartpakequine.com solution configuration=release solutionfile=c:\spe\sourcess\Projects\smartpakequine\SPEWebSolution\SPE WEBSolution.sln webmap map url=${SPE.Web.Host} path=${SPE.Web.Path} / /webmap /solution /target /project Thanks, Gary Gary G. Smith Director of Software Development SmartPak Equine - Smarter Horse Care 40 Grissom Road, Suite 500 Plymouth, MA 02360 Direct Dial: (774) 773-1101 Main Number: (774) 773-1100 x101 Fax: (774) 773-1444 www.SmartPakEquine.com http://www.smartpakequine.com/ --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] System.NullReferenceException
Zeljko, I cannot reproduce this issue using the 0.85 nightly builds. I suggest using a recent nightly build of NAnt (http://nant.sourceforge.net/nightly/builds). Gert - Original Message - From: eljko Filipin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 09, 2004 1:35 PM Subject: [nant-dev] System.NullReferenceException Hi, I've made default.build: ?xml version=1.0 ? project default=empty sysinfo verbose=true prefix= / target name=empty /target /project Then typed C:\nantnant And received error message: NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 26.12.2003) Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/nant/default.build Target(s) specified: empty [sysinfo] Setting system information properties under * [sysinfo] nant.version = 0.84.1455.0 [sysinfo] nant.tasks.sleep = True [sysinfo] nant.tasks.fail = True [sysinfo] os = Microsoft Windows NT 5.1.2600.0 [sysinfo] nant.tasks.regsvcs = True [sysinfo] os.folder.commonapplicationData = C:\Documents and Settings\All Users\Application Data [sysinfo] nant.tasks.attrib.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.core.dll [sysinfo] nant.tasks.delay-sign.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.dotnettasks.dll [sysinfo] nant.tasks.exec = True [sysinfo] nant.tasks.resgen.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.dotnettasks.dll [sysinfo] nant.tasks.solution = True [sysinfo] nant.settings.defaultframework = net-1.1 [sysinfo] nant.tasks.asminfo.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.dotnettasks.dll [sysinfo] nant.tasks.mail.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.core.dll [sysinfo] nant.tasks.tstamp.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.core.dll [sysinfo] nant.tasks.midl.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.visualcpptasks.dll [sysinfo] nant.tasks.property = True [sysinfo] nant.tasks.al = True [sysinfo] nant.tasks.call = True [sysinfo] nant.tasks.sysinfo = True [sysinfo] nant.tasks.link = True [sysinfo] nant.tasks.nantschema = True [sysinfo] nant.tasks.cvs-checkout = True [sysinfo] nant.tasks.readregistry.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.core.dll [sysinfo] nant.tasks.copy = True [sysinfo] nant.tasks.if = True [sysinfo] nant.tasks.xmlpoke.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.core.dll [sysinfo] nant.settings.currentframework.version = 1.1.4322 [sysinfo] nant.settings.defaultframework.frameworkdirectory = C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 [sysinfo] nant.tasks.cl.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.visualcpptasks.dll [sysinfo] nant.tasks.style.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.core.dll [sysinfo] nant.tasks.nunit2 = True [sysinfo] nant.tasks.nant = True [sysinfo] nant.tasks.script = True [sysinfo] nant.tasks.cvs-update.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.sourcecontroltasks.dll [sysinfo] nant.tasks.nunit.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.nunit1tasks.dll [sysinfo] nant.tasks.nantschema.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.core.dll [sysinfo] nant.tasks.move.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.core.dll [sysinfo] nant.tasks.servicecontroller.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.win32tasks.dll [sysinfo] nant.tasks.loadtasks = True [sysinfo] nant.tasks.xmlpeek = True [sysinfo] nant.tasks.foreach = True [sysinfo] nant.tasks.al.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.dotnettasks.dll [sysinfo] nant.settings.defaultframework.version = 1.1.4322 [sysinfo] nant.tasks.unzip = True [sysinfo] nant.tasks.delay-sign = True [sysinfo] nant.tasks.get = True [sysinfo] nant.version = 0.84.1455.0 [sysinfo] nant.project.basedir = C:\nant [sysinfo] nant.settings.currentframework.description = Microsoft .NET Framework 1.1 [sysinfo] nant.project.default = empty [sysinfo] nant.tasks.copy.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.core.dll [sysinfo] nant.tasks.mkdir.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.core.dll [sysinfo] os.platform = Win32NT [sysinfo] nant.tasks.nunit = True [sysinfo] nant.tasks.available.location = c:\documents and settings\zfilipin\my documents\nant\bin\nant.core.dll [sysinfo] nant.tasks.attrib = True [sysinfo] nant.tasks.vjc = True BUILD FAILED INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance of an object. at NAnt.Core.Tasks.SysInfoTask.ExecuteTask() at NAnt.Core.Task.Execute() at
Re: [nant-dev] Property Scoping
Andy Sipe wrote: I'm in the process of implementing a parallel type task (similiar to the existing Ant task). I've pretty much got it working and was playing with it in our current build file. The first thing I found was that properties that are declared within a target are global in scope. Needless to say, this caused a lot of problems when targets began to run at the same time. I did a bit of snooping in the archives and found that at one point (http://www.mail-archive.com/[EMAIL PROTECTED]/msg03300.html) there was talk of having the ability to scope properties to a given target vs being global. Has this been implemented in any way? No - not yet. I think we had basically decided that there was no pressing need for scoped properties. Perhaps you've just found one. I was under the impression that Ant properties also have global scope but maybe this has changed recently. From Ant - the definitive guide: the other prominent property characteristic is that properties are always global in scope. If this is still true then I wonder how the parallel task in Ant works around it. Ian -- Ian MacLean, Developer, ActiveState, a division of Sophos http://www.ActiveState.com --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers