RE: [nant-dev] (no subject)
Chris, I'd highly recommend upgrading to a more recent version of NAnt(Contrib). Lots of issues with the task have been fixed since. Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris HoffmanSent: donderdag 3 maart 2005 18:56To: nant-developers@lists.sourceforge.netSubject: [nant-dev] (no subject) HELP! Im new to nAnt and am using a quick tutorial found on the following page; http://joefield.mysite4now.com/blog/articles/146.aspx Im using: CruiseControl.NET 0.7 NAnt v0.84 NAntContrib v0.84 NUnit 2.2 All goes well until I actually try to compile a simple project, receiving the following error… - C:\BuildProcess>startnant.bat C:\BuildProcess>"NAnt 0.84\bin\nant.exe" -buildfile:cruise.build 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:/BuildProcess/cruise.build Target(s) specified: run clean: [delete] Deleting directory C:\BuildProcess\CITest. [mkdir] Creating directory C:\BuildProcess\CITest. get: [vssget] Put $/CITest to CITest build: [solution] Starting solution build. BUILD FAILED INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance of an object. at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlElement 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 additionalProjects, ArrayList referenceProjects, TempFileCollection tfc, SolutionTa sk solutionTask, 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] Total time: 0.2 seconds. - Please respond as soon as you can… Thanx Chris Hoffman
RE: [nant-dev] (no subject)
Rachid, Please provide more information : what version of NAnt, provide a fragment of your build file or even better : send us a small repro (test app). Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Halloul, RachidSent: dinsdag 21 december 2004 16:54To: [EMAIL PROTECTED]Subject: [nant-dev] (no subject) Any idea why I'm getting this error ? Thanks. INTERNAL ERROR System.ArgumentNullException: Value cannot be null. Parameter name: path1 at System.IO.Path.Combine(String path1, String path2) at NAnt.VisualCpp.Tasks.McTask.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()
Re: [nant-dev] (no subject)
John, That issue was fixed since. Can you try using a recent nightly build of NAnt (http://nant.sourceforge.net/nightly/builds) ? Thanks ! Gert - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 11, 2004 4:02 PM Subject: [nant-dev] (no subject) To whom it may concern: I am trying to use NANT to build some Visual Studio .NET solutions using NANt, but have received the following error. I am using NANT to drive additional builds, I am only getting this error when attempting to build the .NET C# code. BUILD FAILED INTERNAL ERROR System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\DOCUME~1\jwilson4\LOCALS~1\Temp\zzztpkda". at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive) at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive) at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Please send bug report to [EMAIL PROTECTED] Thanks --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] (no subject)
What version of NAnt are you using ? Can you try using a recent nightly build (http://nant.sourceforge.net/nightly/builds) ? Gert - Original Message - From: srini5474 To: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 8:25 AM Subject: [nant-dev] (no subject) provide me solution for: 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() Indiatimes Email now powered by APIC Advantage. Help! Help Click on the image to chat with me
Re: [nant-dev] (no subject)
Somya, Can you package up a zip file containing the minimum set of files necessary to reproduce this issue ? Thanks, Gert - Original Message - From: "Somya Jain" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 08, 2004 12:03 AM Subject: [nant-dev] (no subject) Hi I am getting the following exception when attempting to use the solution task System.Runtime.Serialization.SerializationException: The type System .ComponentModel.LicenseException in Assembly System, Version=1.0.5000.0, Culture =neutral, PublicKeyToken=b77a5c561934e089 is not marked as serializable. Server stack trace: at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSeria li ze(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, S erObjectInfoInit serObjectInfoInit, IFormatterConverter converter) at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize (O bject obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerOb jectInfoInit serObjectInfoInit, IFormatterConverter converter) at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteO bj ectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo) at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Ob je ct graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize (S tream serializationStream, Object graph, Header[] headers, Boolean fCheck) at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeMessa ge Parts(ArrayList argsToSerialize) at System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage..ctor(IMet ho dReturnMessage mrm) at System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.SmuggleIfP os sible(IMessage msg) at System.Runtime.Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte[] reqS tmBuff, SmuggledMethodCallMessage smuggledMcm, SmuggledMethodReturnMessage& smug gledMrm) at System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatch (B yte[] reqStmBuff, SmuggledMethodCallMessage smuggledMcm, SmuggledMethodReturnMes sage& smuggledMrm) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage req Msg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgDa ta, Int32 type) at NAnt.DotNet.Tasks.LicenseGatherer.CreateLicenseFile(LicenseTask licenseTas k, String licenseFile) at NAnt.DotNet.Tasks.LicenseTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.VSNet.Resource.CompileLicx() at NAnt.VSNet.Resource.Compile(ConfigurationSettings configurationSettings, B oolean showCommands) at NAnt.VSNet.Project.Compile(String configuration, ArrayList alCSCArguments, String strLogFile, Boolean bVerbose, Boolean bShowCommands) at NAnt.VSNet.Solution.Compile(String configuration, ArrayList compilerArgume nts, String logFile, Boolean verbose, Boolean showCommands) at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Please send bug report to [EMAIL PROTECTED] It seems that the license task is failing.. I can manually remove the reference to the licx in the project and build work fine. ( I can't use the licenced control of course :-) ) Any help would be deeply appreciated. Somya --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] (no subject)
Mike, I'm certainly not saying drop NUnit 2.0 support in favor of 2.1 support. I'm still asking what those short commings in the runner where. I haven't seen anything on the nunit mailing list, at least not for quite some time. We can't fix it if you won't tell us what the issues are. I'm not getting a lot of complaints on it on the nunit mailing lists. So please tell me what the issues are. I did post about some of them once. I even got a reply from you, but it seems no one still got the crux of the problem. So it seems everyone is just content with how NUnit 2.0 works. I have to admit I had an easier time with the original implementation of nunit2 support than this one. I completely admit that I made a serious error in judgement using the fork attribute. This seemed to cause quite a bit of confusion, but I very very intentionally wrote it to use TestDomain. I knew what the plans for that interface were. I also knew that the interface RemoteTestRunner was much more likely to change than TestDomain. If you want to take it over, be my guest. I'm pretty much dropping NUnit 2.0 myself, and will probably look to either using a different framework or sticking with v1. NUnit 2.0 made it way to complex for my taste to do things how *I* wanted them. -- Tomas Restrepo [EMAIL PROTECTED]