[nant-dev] Possible Bug in NAnt (or NUnit?)
We have a build script that has been crashing on us lately. It causes an application exception to be thrown (see screenshot) and an internal error (see below). It seems to be happening when running through the unit tests, however when using NUnit directly, there are no problems. Only when using NUnit through NAnt. This problem has actually caused our build process to be broken 50% of the time. We were using the release candidate of 0.85, but upgraded to the nightly build with the same problem. Any help would be appreciated. I realize that you will probably need more info. If it requires compiled binaries, we can supply those. Best Regards, Bill Bither Atalasoft INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance of an obj ect. at System.AppDomain.Unload(AppDomain domain) at NAnt.NUnit2.Tasks.NUnit2TestDomain.Unload() in d:\Source\nant-20050127T193 930Z\src\NAnt.NUnit\NUnit2\NUnit2TestDomain.cs:line 98 at NAnt.NUnit2.Tasks.NUnit2Task.ExecuteTask() in d:\Source\nant-20050127T1939 30Z\src\NAnt.NUnit\NUnit2\NUnit2Task.cs:line 238 at NAnt.Core.Task.Execute() in d:\Source\nant-20050127T193930Z\src\NAnt.Core\ Task.cs:line 177 at NAnt.Core.Target.Execute() in d:\Source\nant-20050127T193930Z\src\NAnt.Cor e\Target.cs:line 249 at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in d:\Source\nant-20050127T193930Z\src\NAnt.Core\Project.cs:line 887 at NAnt.Core.Project.Execute() in d:\Source\nant-20050127T193930Z\src\NAnt.Co re\Project.cs:line 839 at NAnt.Core.Project.Run() in d:\Source\nant-20050127T193930Z\src\NAnt.Core\P roject.cs:line 924 Please send bug report to [EMAIL PROTECTED] Total time: 98 seconds. attachment: error.png DotImage.build Description: DotImage.build
[nant-dev] Building NAnt...
Hi all, this email is just to inform you that compiling NAnt against the latest version of mono from SVN (v1.1.3) doesn't work. Here below are the error messages: src/NAnt.DotNet/Tasks/NDocTask.cs(389) error CS0104: `Project' is an ambiguous reference (NDoc.Core.Project or NAnt.Core.Project) src/NAnt.DotNet/Tasks/NDocTask.cs(397) error CS0104: `Project' is an ambiguous reference (NDoc.Core.Project or NAnt.Core.Project) Compilation failed: 2 error(s), 0 warnings make: *** [bootstrap/NAnt.DotNetTasks.dll] Error 1 j3d. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)79 602 99 27 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] [ nant-Bugs-1112631 ] nant from cvs does not compile with mono
Bugs item #1112631, was opened at 2005-01-30 16:43 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=1112631group_id=31650 Category: Tasks Group: None Status: Open Resolution: None Priority: 5 Submitted By: fabian seoane (fseoane) Assigned to: Nobody/Anonymous (nobody) Summary: nant from cvs does not compile with mono Initial Comment: I cannot compile nant from CVS, seems like src/NAnt.DotNet/Tasks/NDocTask.cs has an ambiguous reference, but i cannot guess which is the correct one. I tried with mono/mcs both versions 1.0.1 (packaged for ubuntu) and mono from svn. [EMAIL PROTECTED]:~/mono/nant $ make mkdir -p bootstrap cp -R lib/ bootstrap/lib # Mono loads log4net before privatebinpath is set-up, so we need this in the same directory # as NAnt.exe cp lib/log4net.dll bootstrap cp src/NAnt.Console/App.config bootstrap/NAnt.exe.config ~/local/bin/mcs -target:exe -define:MONO -out:bootstrap/NAnt.exe -r:bootstrap/log4net.dll -recurse:src/NAnt.Console/*.cs src/CommonAssemblyInfo.cs ~/local/bin/mcs -target:library -warn:0 -define:MONO -out:bootstrap/NAnt.Core.dll -r:lib/log4net.dll -r:System.Web.dll -recurse:src/NAnt.Core/*.cs src/CommonAssemblyInfo.cs ~/local/bin/mcs -target:library -warn:0 -define:MONO -out:bootstrap/NAnt.DotNetTasks.dll -r:./bootstrap/NAnt.Core.dll -r:bootstrap/lib/mono/1.0/NDoc.Core.dll -recurse:src/NAnt.DotNet/*.cs src/CommonAssemblyInfo.cs src/NAnt.DotNet/Tasks/NDocTask.cs(389) error CS0104: `Project' is an ambiguous reference (NDoc.Core.Project or NAnt.Core.Project) src/NAnt.DotNet/Tasks/NDocTask.cs(397) error CS0104: `Project' is an ambiguous reference (NDoc.Core.Project or NAnt.Core.Project) Compilation failed: 2 error(s), 0 warnings make: *** [bootstrap/NAnt.DotNetTasks.dll] Error 1 -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=1112631group_id=31650 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] RemoveFile table.
any files/directories that were created by the install should be removed on uninstall. This is handled by the installer framework. To remove other files, yeah, it seems that the RemoveFile table is your best bet. I would suggest creating it as a custom table. there is a sample in the Msi FAQ for creating the ServiceInstall table as a custom table. Have a look at FAQ 1.17 from http://nant.sourceforge.net/wiki/index.php/MSITask Jim On Fri, 28 Jan 2005 18:18:57 -0600, Murali Maddali [EMAIL PROTECTED] wrote: Hello Guys, How can I remove or delete the directory during uninstall. I believe the RemoveFile table in msi is used for this purpose. I am using msi task to build the msi. Please advice. Thank you. Regards, Murali k Maddali. UAI, Inc. Office (256) 705-5191 Others see things as they are and wonder why; I see them as they are not and say why not? - Robert Kennedy - This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] [ nant-Bugs-1110832 ] Problem with project xml element.
Bugs item #1110832, was opened at 2005-01-27 17:26 Message generated for change (Comment added) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=1110832group_id=31650 Category: Core Group: 0.85 Status: Closed Resolution: Later Priority: 5 Submitted By: Amir Kolsky (kolsky) Assigned to: Gert Driesen (drieseng) Summary: Problem with project xml element. Initial Comment: The following is a sample build file with the scheme specification: ?xml version=1.0? nant:project name=Bad Sample default=A xmlns:nant=http://nant.sf.net/release/0.85- rc1/nant.xsd xmlns:xsi=http://www.w3.org/2001/XMLSchema- instance xsi:schemaLocation=http://nant.sf.net/release/0.85- rc1/nant.xsd C:\PROGRA~1\Nant\schema\nant.xsd target name=A/ /nant:project This snippet passes validation. However, when ran an error stating that there is no target A in the file is displayed. The following file which does not have the schema in it works. ?xml version=1.0? project name=Bad Sample default=A target name=A/ project This bug means that we can not use validating editors to generate the .build files as their output is not accepted by NAnt. -- Comment By: Gert Driesen (drieseng) Date: 2005-01-31 08:38 Message: Logged In: YES user_id=707851 NAnt currently does not support namespace prefixes. Remove the nant namespace prefix and your example will work fine and validators will be able to validate your build files : ?xml version=1.0? project name=Bad Sample default=A xmlns=http://nant.sf.net/release/0.85-rc1/nant.xsd; xmlns:xsi=http://www.w3.org/2001/XMLSchema- instance xsi:schemaLocation=http://nant.sf.net/release/0.85- rc1/nant.xsd C:\PROGRA~1\Nant\schema\nant.xsd target name=A/ /project -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=1110832group_id=31650 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers