[nant-dev] Error when running nant and the BT deployment framework
Ideas? INTERNAL ERROR System.Reflection.TargetInvocationException: Exception has been thrown by the ta rget of an invocation. --- System.ArgumentException: Parameter name: strDBServer at Microsoft.BizTalk.ExplorerOM.BtsCatalogExplorer.set_ConnectionString (Strin g value) at BizTalk.NAnt.Tasks.ControlBizTalkApp..ctor() --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOn ly, Boolean noCheck, Boolean canBeCached, RuntimeMethodHandle ctor, Boolean b NeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCach e) at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisi bilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder bin der, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binde r binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreC ase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture , Object[] activationAttributes) at NAnt.Core.TaskBuilder.CreateTask() at NAnt.Core.TypeFactory.CreateTask(XmlNode taskNode, Project proj) at NAnt.Core.Project.CreateTask(XmlNode taskNode, Target target) at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Tasks.CallTask.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() -- Devin Quince http://quinceurbanhomestead.blogspot.com/ Start demanding safe passage on our public roads! Before there were automobiles, and after there will be automobiles, there will be bicycles moving people around for transportation Andy Thornley, program director for the San Francisco Bicycle Coalition Being so close to death makes you realize that you are alive Nels Johson 1988 Iditabike rider - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Error using solution task with Nightly build
We're getting this same sort of behavior on several applications (some with only 2003 built projects, some with a combination of 2003 and 2005 built projects). The only underlying theme seems to be that 2.0 and 1.1 frameworks exist on a build machine. In otherwords, if we add the 2.0 framework to a machine, it will eventually destroy the build. Any help? Thanks, Eric - Original Message From: Eric Fetzer [EMAIL PROTECTED] To: NAnt Developers nant-developers@lists.sourceforge.net Sent: Tuesday, February 13, 2007 2:45:21 PM Subject: [nant-dev] Error using solution task with Nightly build I've come across a problem with the nightly build: nant-0.86-nightly-2006-12-28 OK, when building 2003 stuff, I need to specify the target framework, that's cool. With some projects, if we forget, it compiles fine anyway against the 2.0, but crashes at runtime. That's fine too, but with one specific project (web service), even if we specify the framework, it crashes at runtime. If I build the same exact code in VS and deploy it, all's cool. The specific red herring error we get is: ___ Server Error in '/MyApplication' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'MyApplication.Global'. Source Error: Line 1: %@ Application Codebehind=Global.asax.cs Inherits=MyApplication.Global % Source File: D:\MyApplication\global.asaxLine: 1 Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300 _ Any help? Thanks, Eric Need Mail bonding? Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=listsid=396546091 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error using solution task with Nightly build
I've come across a problem with the nightly build: nant-0.86-nightly-2006-12-28 OK, when building 2003 stuff, I need to specify the target framework, that's cool. With some projects, if we forget, it compiles fine anyway against the 2.0, but crashes at runtime. That's fine too, but with one specific project (web service), even if we specify the framework, it crashes at runtime. If I build the same exact code in VS and deploy it, all's cool. The specific red herring error we get is: ___ Server Error in '/MyApplication' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'MyApplication.Global'. Source Error: Line 1: %@ Application Codebehind=Global.asax.cs Inherits=MyApplication.Global % Source File: D:\MyApplication\global.asaxLine: 1 Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300 _ Any help? Thanks, Eric Need Mail bonding? Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=listsid=396546091 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error CS1703 when using NAnt task...
I was able to make a new MSI and started testing against our build scripts (YEA!). I've run into a problem. If I execute the nant task on a build files that have a script tags that loads the same assembly, I get the following error: C:\src\NAnt\UtilityCenter\2x\uai\Utilities\PerformanceCalculator\default.bui ld(149,3): Compilation failed: error CS1703: An assembly with the same identity 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has already been imported. Try removing one of the duplicate references. If you want to simulate this, create two build files and place the following script in each one: script language=C# prefix=script references include name=System.Data.dll / /references code![CDATA[ [Function(CreateRegistryGuid)] public string CreateRegistryGuid() { return { + Guid.NewGuid().ToString().ToUpper() + }; } ]] /code /script Now create a build file that calls both of those via a nant task. The second call should fail. Thanks, John 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 sender. 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. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Error CS1703 when using NAnt task...
John, This appears to be due to some change in .NET 2.0 wrt to the assembly loader. I'll commit a workaround to cvs in a minute. Gert -Original Message- From: [EMAIL PROTECTED] [mailto:nant- [EMAIL PROTECTED] On Behalf Of John Cole Sent: woensdag 13 september 2006 17:24 To: nant-developers@lists.sourceforge.net Subject: [nant-dev] Error CS1703 when using NAnt task... I was able to make a new MSI and started testing against our build scripts (YEA!). I've run into a problem. If I execute the nant task on a build files that have a script tags that loads the same assembly, I get the following error: C:\src\NAnt\UtilityCenter\2x\uai\Utilities\PerformanceCalculator\defaul t.bui ld(149,3): Compilation failed: error CS1703: An assembly with the same identity 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has already been imported. Try removing one of the duplicate references. If you want to simulate this, create two build files and place the following script in each one: script language=C# prefix=script references include name=System.Data.dll / /references code![CDATA[ [Function(CreateRegistryGuid)] public string CreateRegistryGuid() { return { + Guid.NewGuid().ToString().ToUpper() + }; } ]] /code /script Now create a build file that calls both of those via a nant task. The second call should fail. Thanks, John 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 sender. 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. --- -- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as- us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] Error on using NAnt
Sanjiv, There have been reports of similar issues in the past, and these were always caused by a bad install of the .NET Framework. Can you trying reinstalling the .NET Framework 1.1 redistributable? Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanjiv Sent: donderdag 23 maart 2006 7:44 To: nant-developers@lists.sourceforge.net Subject: [nant-dev] Error on using NAnt Hi Developers, I am using NANT to build my project solution. This solution file contains multiple projects developed in C++, WTL, C#, VB.NET It is giving me following error. -- -- C:\Program Files\nant-0.85-rc3\binNAnt build -buildfile:I:\ProjectFolder\ATS\VDO.build NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net http://nant.sourceforge.net/ Buildfile: file:///I:/Snap-On/ATS/VDO.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: build build: build.VDO: [solution] Starting solution build. BUILD FAILED INTERNAL ERROR System.TypeInitializationException: The type initializer for NAnt.DotNet.Tasks. CompilerBase threw an exception. --- System.ArgumentException: Culture ID 3177 0 (0x7C1A) is not a supported culture. Parameter name: culture at System.Globalization.CultureInfo..ctor(Int32 culture, Boolean useUserOverr ide) at System.Globalization.CultureTable.GetCultures(CultureTypes types) at System.Globalization.CultureInfo.GetCultures(CultureTypes types) at NAnt.DotNet.Tasks.CompilerBase..cctor() --- End of inner exception stack trace --- at NAnt.DotNet.Tasks.CompilerBase.GetResourceCulture(String resourceFile, Str ing dependentFile) at NAnt.VSNet.Resource..ctor(ManagedProjectBase project, FileInfo resourceSou rceFile, String resourceSourceFileRelativePath, String dependentFile, SolutionTa sk solutionTask, GacCache gacCache) at NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase solution, String projectP ath, XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc , GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir) at NAnt.VSNet.VBProject..ctor(SolutionBase solution, String projectPath, XmlE lement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc, GacCach e gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir) at NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTas k solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver re ferencesResolver, DirectoryInfo outputDir, String projectPath) at NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refe rencesResolver, DirectoryInfo outputDir, String path) at NAnt.VSNet.SolutionBase.LoadProjects(GacCache gacCache, ReferencesResolver refResolver) at NAnt.VSNet.Everett.Solution..ctor(String solutionContent, SolutionTask sol utionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refReso lver) at NAnt.VSNet.SolutionFactory.LoadSolution(SolutionTask solutionTask, TempFil eCollection tfc, GacCache gacCache, ReferencesResolver refResolver) 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.Tasks.CallTask.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() nbsp; at NAnt.Core.Project.Run() Please send bug report to nant-developers@lists.sourceforge.net mailto:nant-developers@lists.sourceforge.net . Total time: 2.5 seconds. -- -- Thanks. Regards, Sanjiv New Yahoo! Messenger with Voice. http://us.rd.yahoo.com/mail_us/taglines/postman4/*http://us.r d.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com Call regular phones from your PC for low, low rates. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error on using NAnt
Hi Developers,I am using NANT to build my project solution. This solution file contains multiple projects developed in C++, WTL, C#, VB.NET It is giving me following error. C:\Program Files\nant-0.85-rc3\binNAnt build -buildfile:I:\ProjectFolder\ATS\VDO.buildNAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005)Copyright (C) 2001-2005 Gerry Shawhttp://nant.sourceforge.netBuildfile: file:///I:/Snap-On/ATS/VDO.buildTarget framework: Microsoft .NET Framework 1.1Target(s) specified: buildbuild:build.VDO:[solution] Starting solution build.BUILD FAILEDINTERNAL ERRORSystem.TypeInitializationException: The type initializer for "NAnt.DotNet.Tasks.CompilerBase" threw an exception. --- System.ArgumentException: Culture ID 31770 (0x7C1A) is not a supported culture.Parameter name: culture at System.Globalization.CultureInfo..ctor(Int32 culture, Boolean useUserOverride) at System.Globalization.CultureTable.GetCultures(CultureTypes types) at System.Globalization.CultureInfo.GetCultures(CultureTypes types) at NAnt.DotNet.Tasks.CompilerBase..cctor() --- End of inner exception stack trace --- at NAnt.DotNet.Tasks.CompilerBase.GetResourceCulture(String resourceFile, String dependentFile) at NAnt.VSNet.Resource..ctor(ManagedProjectBase project, FileInfo resourceSourceFile, String resourceSourceFileRelativePath, String dependentFile, SolutionTask solutionTask, GacCache gacCache) at NAnt.VSNet.ManagedProjectBase..ctor(SolutionBase solution, String projectPath, XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir) at NAnt.VSNet.VBProject..ctor(SolutionBase solution, String projectPath, XmlElement xmlDefinition, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir) at NAnt.VSNet.ProjectFactory.CreateProject(SolutionBase solution, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver referencesResolver, DirectoryInfo outputDir, String projectPath) at NAnt.VSNet.ProjectFactory.LoadProject(SolutionBase solution, SolutionTasksolutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver referencesResolver, DirectoryInfo outputDir, String path) at NAnt.VSNet.SolutionBase.LoadProjects(GacCache gacCache, ReferencesResolverrefResolver) at NAnt.VSNet.Everett.Solution..ctor(String solutionContent, SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver) at NAnt.VSNet.SolutionFactory.LoadSolution(SolutionTask solutionTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver) 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.Tasks.CallTask.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()& nbsp; at NAnt.Core.Project.Run()Please send bug report to nant-developers@lists.sourceforge.net.Total time: 2.5 seconds. Thanks. Regards, Sanjiv New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates.
[nant-dev] Error creating custom task in a script tag
I have this code in my build file which should create a politer XmlPeek task:script language=c# code ![CDATA[ [TaskName(quietxmlpeek)] public class QuietXmlPeekTask : NAnt.Core.Tasks.XmlPeekTask {public override void Log(Level messageLevel, string message) { if (messageLevel != Level.Info || Verbose) { base.Log(messageLevel, message); }} } ]] /code/scriptBut instead it generates this error: [script] Scanning assembly y0viaire for extensions. [script] Failure scanning nant7028cc7dc1a14572b6c220cec1bbaae9+QuietXmlPeekTask, y0viaire, Version=0.0.0.0 , Culture=neutral, PublicKeyToken=null for tasks.BUILD FAILED - 1 non-fatal error(s), 0 warning(s)INTERNAL ERRORSystem.ArgumentNullException: Value cannot be null.Parameter name: element at System.Attribute.GetCustomAttributes(MemberInfo element, Type type, Boolean inherit) at System.Attribute.GetCustomAttribute(MemberInfo element, Type attributeType, Boolean inherit) at NAnt.Core.TaskBuilder..ctor (String className, String assemblyFileName) at NAnt.Core.TypeFactory.ScanTypeForTasks(Type type, Task task) at NAnt.Core.TypeFactory.ScanAssembly(Assembly assembly, Task task) at NAnt.DotNet.Tasks.ScriptTask.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 nant-developers@lists.sourceforge.net.I'm using NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005)Thanks,Sam
[nant-dev] error while compiling VC++ project
Hi, I am getting the following error when i run nant on a VC++ project. [cl] fatal error C1083: Cannot open compiler generated file: 'C:\1NET mid dleTier\N-Unit test\NUnit\VCCONSOLETEST\$/stdafx.obj': No such file or directory Also,Is there any tool which can be used to generate build file for VC++ project.Can any one just pass on a sample build file for a VC++ project. Regards Kiran
RE: [nant-dev] Error while integrating ncover into dailybuild with nant.
When I said that it integrated a lot better, I just meant that I was able to set up an exec task and have it work. With the SF Ncover, I never did get their nant task to work. If it helps, here is my exec task. exec program=${ncover.bin.dir}\NCover.Console.exe verbose=${isVerbose} workingdir=${bin.dir} failonerror=false resultproperty=ncover.exitcode arg value=/c quot;${nunit.bin.dir}\nunit-console.exequot; quot;${test.name}.dll /xml=${test.result.file.path.xml}quot; / arg value=/a quot;Intel.Dataquot; / arg value=/o quot;${test.coverage.file.path.xml}quot; / arg value=/l quot;${test.coverage.file.path}.logquot; / /exec Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Feldman Sent: Friday, October 07, 2005 9:17 AM To: nant-developers@lists.sourceforge.net Subject: Re: [nant-dev] Error while integrating ncover into dailybuild with nant. Morris, Jason wrote: Where did you get NCover from? http://ncover.org/ - or - http://ncover.sourceforge.net/ IIRC, I had this problem when I used the version from SourceForge, but if you go to ncover.org, that version seems to work a lot better. Plus, I found ncover.org's version integrated with nAnt a lot easier. I've been using the ncover.org version as well, but I wasn't aware of any integration. I've resorted to a painstakingly constructed exec task. (It's painstaking because I'm using NCover to invoke nunit-console, which in turn invokes the tests, so there are several levels of quoting needed in the commandline attribute.) I believe the Sourceforge version comes with a NAnt task, but I haven't seen any in the NCover.org version. If there is one, where can I find it? Jason PS I don't know the history of this project, so I don't know why the differences in code between the two projects with the same name. I've always presumed that the projects were always independent, and just happened to use the same name without realizing that someone else was also using it. For what it's worth, the NCover.org version began life on GotDotNet, but at least at that time, GotDotNet lacked the stability and convenience needed for multi-person open source development. It would be nice if they resolved the name conflict. Flip a coin, hold a charity auction (whichever one raises the most gets to decide), or duel at twenty paces - I don't care how it's resolved as long as it's resolved. Or the market could decide by abandoning one of them. Gary --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] Error while integrating ncover into dailybuild with nant.
Where did you get NCover from? http://ncover.org/ - or - http://ncover.sourceforge.net/ IIRC, I had this problem when I used the version from SourceForge, but if you go to ncover.org, that version seems to work a lot better. Plus, I found ncover.org's version integrated with nAnt a lot easier. Jason PS I don't know the history of this project, so I don't know why the differences in code between the two projects with the same name. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dorp, Patriek van Sent: Monday, October 03, 2005 4:49 AM To: nant-developers@lists.sourceforge.net Subject: [nant-dev] Error while integrating ncover into dailybuild with nant. Dear all, I'm trying to integrate NCover into our dailybuild process. I downloaded the latest version of NCover (I think...) sources and compiled the NCoverNant project. After running our daily build the following error keeps coming up: InstrumentCoreCode: [mkdir] Creating directory 'D:\GemsDailyBuild\Reports\Framework'. [ncover][ncover] NCover version 1.0.2099.21486 [ncover][ncover] Instrumenting 67 files for test coverage analysis. BUILD FAILED - 0 non-fatal error(s), 25 warning(s) INTERNAL ERROR System.InvalidOperationException: There was an error generating the XML document. --- System.InvalidCastException: Specified cast is not valid. at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationW riter1.Write5_Coverage(Object o) --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle) at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o) at NCover.Coverage.SaveCoverage(Stream expected, Coverage coverage) at NCover.NCoverTaskImpl..ctor(NCoverAction ncoverAction) at NCover.Actions.NCoverAction.Execute() at NCoverTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Tasks.CallTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Tasks.CallTask.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] Could you provide me with an answer to how I can resolve this problem? With kind regards, Patriek van Dorp Applicatie Engineer Sogeti Nederland B.V. Postbus 8198 3009 AD Rotterdam Hoofdweg 204 3067 GJ Rotterdam T: +31 (0)20 660 66 00 + nakiesnummer 1957 F: +31 (0)20 660 66 62 M: +31 (0)6 52327704 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.sogeti.nl Disclaimer: This message contains information that may be privileged or confidential and is the property of Sogeti Nederland B.V. or its Group members. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Error while integrating ncover into dailybuild with nant.
Morris, Jason wrote: Where did you get NCover from? http://ncover.org/ - or - http://ncover.sourceforge.net/ IIRC, I had this problem when I used the version from SourceForge, but if you go to ncover.org, that version seems to work a lot better. Plus, I found ncover.org's version integrated with nAnt a lot easier. I've been using the ncover.org version as well, but I wasn't aware of any integration. I've resorted to a painstakingly constructed exec task. (It's painstaking because I'm using NCover to invoke nunit-console, which in turn invokes the tests, so there are several levels of quoting needed in the commandline attribute.) I believe the Sourceforge version comes with a NAnt task, but I haven't seen any in the NCover.org version. If there is one, where can I find it? Jason PS I don't know the history of this project, so I don't know why the differences in code between the two projects with the same name. I've always presumed that the projects were always independent, and just happened to use the same name without realizing that someone else was also using it. For what it's worth, the NCover.org version began life on GotDotNet, but at least at that time, GotDotNet lacked the stability and convenience needed for multi-person open source development. It would be nice if they resolved the name conflict. Flip a coin, hold a charity auction (whichever one raises the most gets to decide), or duel at twenty paces - I don't care how it's resolved as long as it's resolved. Or the market could decide by abandoning one of them. Gary --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error message when using NCover with NAnt
Dear all, I'm trying to integrate NCover into our dailybuild process. I downloaded the latest version of NCover (I think...) sources and compiled the NCoverNant project. After running our daily build the following error keeps coming up: InstrumentCoreCode: [mkdir] Creating directory 'D:\GemsDailyBuild\Reports\Framework'. [ncover][ncover] NCover version 1.0.2099.21486 [ncover][ncover] Instrumenting 67 files for test coverage analysis. BUILD FAILED - 0 non-fatal error(s), 25 warning(s) INTERNAL ERROR System.InvalidOperationException: There was an error generating the XML document. --- System.InvalidCastException: Specified cast is not valid. at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write5_Coverage(Object o) --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle) at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o) at NCover.Coverage.SaveCoverage(Stream expected, Coverage coverage) at NCover.NCoverTaskImpl..ctor(NCoverAction ncoverAction) at NCover.Actions.NCoverAction.Execute() at NCoverTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Tasks.CallTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Tasks.CallTask.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] Could you provide me with an answer to how I can resolve this problem? With kind regards, Patriek van Dorp Applicatie Engineer Sogeti Nederland B.V. Postbus 8198 3009 AD Rotterdam Hoofdweg 204 3067 GJ Rotterdam T: +31 (0)20 660 66 00 + nakiesnummer 1957 F: +31 (0)20 660 66 62 M: +31 (0)6 52327704 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.sogeti.nl Disclaimer: This message contains information that may be privileged or confidential and is the property of Sogeti Nederland B.V. or its Group members. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error while integrating ncover into dailybuild with nant.
Dear all, I'm trying to integrate NCover into our dailybuild process. I downloaded the latest version of NCover (I think...) sources and compiled the NCoverNant project. After running our daily build the following error keeps coming up: InstrumentCoreCode: [mkdir] Creating directory 'D:\GemsDailyBuild\Reports\Framework'. [ncover][ncover] NCover version 1.0.2099.21486 [ncover][ncover] Instrumenting 67 files for test coverage analysis. BUILD FAILED - 0 non-fatal error(s), 25 warning(s) INTERNAL ERROR System.InvalidOperationException: There was an error generating the XML document. --- System.InvalidCastException: Specified cast is not valid. at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write5_Coverage(Object o) --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle) at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o) at NCover.Coverage.SaveCoverage(Stream expected, Coverage coverage) at NCover.NCoverTaskImpl..ctor(NCoverAction ncoverAction) at NCover.Actions.NCoverAction.Execute() at NCoverTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Tasks.CallTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Tasks.CallTask.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] Could you provide me with an answer to how I can resolve this problem? With kind regards, Patriek van Dorp Applicatie Engineer Sogeti Nederland B.V. Postbus 8198 3009 AD Rotterdam Hoofdweg 204 3067 GJ Rotterdam T: +31 (0)20 660 66 00 + nakiesnummer 1957 F: +31 (0)20 660 66 62 M: +31 (0)6 52327704 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.sogeti.nl Disclaimer: This message contains information that may be privileged or confidential and is the property of Sogeti Nederland B.V. or its Group members. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error -URI formats are not supported
Hi, While I am using Nant for integation I am getting this error. This came when I give webmap.can you help me on this. System.ArgumentException: URI formats are not supported. at System.IO.Path.GetFullPathInternal(String path) at System.IO.FileInfo..ctor(String fileName) at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in C:\DOCUME~1\A DMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.VSNet\Project.cs:line 150 at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection tfc, GacCache gacCache, DirectoryInfo outputDir, String path) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.VSNet\ProjectFactory.c s:line 72 at NAnt.VSNet.Solution.LoadProjects(GacCache gacCache) in C:\DOCUME~1\ADMINI~ 1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.VSNet\Solution.cs:line 535 at NAnt.VSNet.Solution..ctor(FileInfo solutionFile, ArrayList additionalProje cts, ArrayList referenceProjects, TempFileCollection tfc, SolutionTask solutionT ask, WebMapCollection webMaps, FileSet excludesProjects, DirectoryInfo outputDir , GacCache gacCache) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.VS Net\Solution.cs:line 130 at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in C:\DOCUME~1\ADMINI~1\LOCALS ~1\Temp\tmp26.tmp\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 365 at NAnt.Core.Task.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\s rc\NAnt.Core\Task.cs:line 151 at NAnt.Core.Target.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp \src\NAnt.Core\Target.cs:line 249 at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\src\NAnt.Core\Project.cs:line 892 at NAnt.Core.Project.Execute() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tm p\src\NAnt.Core\Project.cs:line 849 at NAnt.Core.Project.Run() in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp26.tmp\sr c\NAnt.Core\Project.cs:line 917 Regards, Jio Sani
[nant-dev] Error creating directory longer than 156 characters
I can create a directory of 156 characters or less using mkdir. When I try to create a directory greater than 156 I get the following error: INTERNAL ERROR System.IO.PathTooLongException: The path is too long after being fully qualified. Make sure path is less than 260 chara cters. at System.IO.Path.nGetFullPathHelper(String path, Char[] invalidPathChars, Char[] whitespaceChars, Char directorySepa rator, Char altDirectorySeparator, Char volumeSeparator, Boolean fullCheck, String newPath) at System.IO.Path.GetFullPathInternal(String path) at System.IO.FileInfo..ctor(String fileName) at NAnt.Core.Tasks.CopyTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.TaskContainer.ExecuteChildTasks() at NAnt.Core.Tasks.IfTask.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]
[nant-dev] error
BUILD FAILED INTERNAL ERROR System.TypeLoadException: Could not load type NAnt.Core.Attributes.FileSetAttrib ute from assembly NAnt.Core, Version=0.85.1869.0, Culture=neutral, PublicKeyToke n=null. at System.Reflection.CustomAttribute.GetCustomAttributeList(Int32 token, IntP tr module, RuntimeType caType, CustomAttribute caItem, Int32 level) at System.Reflection.CustomAttribute.GetCustomAttributeListCheckType(Int32 to ken, IntPtr module, Type caType, CustomAttribute caItem, Int32 level) at System.Reflection.CustomAttribute.GetCustomAttributes(MemberInfo member, T ype caType, Boolean inherit) at System.Reflection.RuntimePropertyInfo.GetCustomAttributes(Type attributeTy pe, Boolean inherit) at System.Attribute.InternalGetCustomAttributes(PropertyInfo element, Type ty pe, Boolean inherit) at System.Attribute.GetCustomAttributes(MemberInfo element, Type type, Boolea n inherit) at System.Attribute.GetCustomAttribute(MemberInfo element, Type attributeType , Boolean inherit) at NAnt.Core.AttributeConfigurator.InitializeAttribute(PropertyInfo propertyI nfo) at NAnt.Core.AttributeConfigurator.Initialize() at NAnt.Core.Element.InitializeXml(XmlNode elementNode, PropertyDictionary pr operties, FrameworkInfo framework) at NAnt.Core.Element.Initialize(XmlNode elementNode, PropertyDictionary prope rties, FrameworkInfo framework) at NAnt.Core.Project.CreateTask(XmlNode taskNode, Target target) 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: 1.1 seconds. --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] error
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of brydon Sent: vrijdag 15 juli 2005 18:46 To: nant-developers@lists.sourceforge.net Subject: [nant-dev] error BUILD FAILED INTERNAL ERROR System.TypeLoadException: Could not load type NAnt.Core.Attributes.FileSetAttrib ute from assembly NAnt.Core, Version=0.85.1869.0, Culture=neutral, PublicKeyToke n=null. at System.Reflection.CustomAttribute.GetCustomAttributeList(Int32 token, IntP tr module, RuntimeType caType, CustomAttribute caItem, Int32 level) at System.Reflection.CustomAttribute.GetCustomAttributeListCheckT ype(Int32 to ken, IntPtr module, Type caType, CustomAttribute caItem, Int32 level) at System.Reflection.CustomAttribute.GetCustomAttributes(MemberInfo member, T ype caType, Boolean inherit) at System.Reflection.RuntimePropertyInfo.GetCustomAttributes(Type attributeTy pe, Boolean inherit) at System.Attribute.InternalGetCustomAttributes(PropertyInfo element, Type ty pe, Boolean inherit) at System.Attribute.GetCustomAttributes(MemberInfo element, Type type, Boolea n inherit) at System.Attribute.GetCustomAttribute(MemberInfo element, Type attributeType , Boolean inherit) at NAnt.Core.AttributeConfigurator.InitializeAttribute(PropertyInfo propertyI nfo) at NAnt.Core.AttributeConfigurator.Initialize() at NAnt.Core.Element.InitializeXml(XmlNode elementNode, PropertyDictionary pr operties, FrameworkInfo framework) at NAnt.Core.Element.Initialize(XmlNode elementNode, PropertyDictionary prope rties, FrameworkInfo framework) at NAnt.Core.Project.CreateTask(XmlNode taskNode, Target target) 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 regression was fixed after RC3. Try using a recent nightly build (http://nant.sourceforge.net/nightly/latest). Gert --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error
See file attached. C:\Program Files\NAntnant NAnt 0.85 (Build 0.85.1986.0; nightly; 6/9/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/Program Files/NAnt/im.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: R19 get_latest: [vssget] C:\Program Files\NAnt\im.build(4,4): Attribute 'usemodtime' for vssget ... / is deprecated. Use filetimestamp attribute instead. [vssget] C:\Program Files\NAnt\im.build(4,4): Attribute 'user' for vssget ... / is deprecated. Use username attribute instead. [vssget] Getting '$/INSTALLMGR' to 'c:\napdev'... [vssget] Removing deleted files from local image... [vssget] Removed 0 deleted files from local image. R19: [solution] Starting solution build. BUILD FAILED - 0 non-fatal error(s), 2 warning(s) INTERNAL ERROR System.ArgumentException: Illegal characters in path. at System.IO.Path.IsPathRooted(String path) at NAnt.Core.Util.FileUtils.CombinePaths(String path1, String path2) in d:\Source\nant-20050609T193529Z\src\NAnt.Core\Util\FileUtils.cs:line 180 at NAnt.VSNet.VcProjectConfiguration.get_OutputPath() in d:\Source\nant-20050609T193529Z\src\NAnt.VSNet\VcProjectConfiguration.cs:line 240 at NAnt.VSNet.SolutionBase.GetDependenciesFromProjects(String solutionConfiguration) in d:\Source\nant-20050609T193529Z\src\NAnt.VSNet\SolutionBase.cs:line 456 at NAnt.VSNet.SolutionBase.Compile(String solutionConfiguration) in d:\Source\nant-20050609T193529Z\src\NAnt.VSNet\SolutionBase.cs:line 197 at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in d:\Source\nant-20050609T193529Z\src\NAnt.VSNet\Tasks\SolutionTask.cs:line 419 at NAnt.Core.Task.Execute() in d:\Source\nant-20050609T193529Z\src\NAnt.Core\Task.cs:line 177 at NAnt.Core.Target.Execute() in d:\Source\nant-20050609T193529Z\src\NAnt.Core\Target.cs:line 247 at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in d:\Source\nant-20050609T193529Z\src\NAnt.Core\Project.cs:line 885 at NAnt.Core.Project.Execute() in d:\Source\nant-20050609T193529Z\src\NAnt.Core\Project.cs:line 837 at NAnt.Core.Project.Run() in d:\Source\nant-20050609T193529Z\src\NAnt.Core\Project.cs:line 922 Please send bug report to [EMAIL PROTECTED] Total time: 2 seconds.
RE: [nant-dev] Error
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hassanipour, Mehdi Sent: maandag 20 juni 2005 22:21 To: nant-developers@lists.sourceforge.net Subject: [nant-dev] Error See file attached. Can you send me a small self-contained repro for this issue ? Thanks ! Gert --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error deploying BizTalk solution using NAnt
Hi, I am getting the following error deploying BizTalk solution. Can you please get the solution to this? reverseCSVString: BUILD FAILED INTERNAL ERROR System.Reflection.TargetInvocationException: Exception has been thrown by the ta rget of an invocation. --- System.ArgumentException: Value does not fall within the expected range. at Microsoft.BizTalk.ExplorerOM.BtsCatalogExplorer.set_ConnectionString(Strin g value) at BizTalk.NAnt.Tasks.ControlOrchestrations..ctor() --- End of inner exception stack trace --- at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder bin der, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binde r binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreC ase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture , Object[] activationAttributes) at NAnt.Core.TaskBuilder.CreateTask() at NAnt.Core.TypeFactory.CreateTask(XmlNode taskNode, Project proj) at NAnt.Core.Project.CreateTask(XmlNode taskNode, Target target) at NAnt.Core.TaskContainer.CreateChildTask(XmlNode node) at NAnt.Core.TaskContainer.ExecuteChildTasks() at NAnt.Core.Tasks.LoopTask.ExecuteChildTasks() at NAnt.Core.Tasks.LoopTask.DoWork(String[] propVals) at NAnt.Core.Tasks.LoopTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Tasks.CallTask.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() Shradha Gorasia Avanade India | Accenture Mumbai Delivery Center Direct Dial: +91.22.5500 3028 AIM: shradhagorasia MSN: shradha_cs This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
[nant-dev] Error while building Nant.
Title: Error while building Nant. Hello Everybody, I was trying to build Nant on my personal laptop with Windows XP home edition with all latest service packs. My build would fail with the following error. Any ideas? D:\src\NAntContrib\NAntContribInstall.include(111,10): Unable to build Installer database 'NAnt.msi'. COM object with CLSID {F94985D5-29F9-4743-9805-99BC3F35B678} is either not valid or not registered. Here are last couple of tasks that got executed before failing. nant.src.msm: [msm] Building Installer Database 'nant.src.msm'. [msm] Compressing Files... [msm] Saving Installer Database... nant.mergemodules: nantcontrib.bin.msm: [msm] Building Installer Database 'nantcontrib.bin.msm'. [msm] Compressing Files... [msm] Saving Installer Database... nantcontrib.doc.msm: [msm] Building Installer Database 'nantcontrib.doc.msm'. [msm] Compressing Files... [msm] Saving Installer Database... nantcontrib.src.msm: [msm] Building Installer Database 'nantcontrib.src.msm'. [msm] Compressing Files... [msm] Saving Installer Database... nantcontrib.mergemodules: msi: [msi] Building Installer Database 'NAnt.msi'. BUILD FAILED D:\src\NAntContrib\NAntContribInstall.include(111,10): Unable to build Installer database 'NAnt.msi'. COM object with CLSID {F94985D5-29F9-4743-9805-99BC3F35B678} is either not valid or not registered. Total time: 1034.1 seconds. Thank you all Regards, Murali k Maddali. UAI, Inc. Office (256) 705-5191 Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened. -Sir Winston Churchill -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.
[nant-dev] error while running windows Application using Nant
Hi, I got a problem while running a windowsApplication. My default.build file is also pasted below. ?xml version=1.0? project name=ClassLibWinApp default=run basedir=. target name=build csc target=exe output=bin\debug\ClassLibWinApp.exe sources includes name=Users.cs/ includes name=Register.cs/ includes name=Form1.cs/ includes name=Credit.cs/ /sources /csc /target target name=run depends=build exe program=bin\debug\ClassLibWinApp.exe/ /target /project The error i got while running the application using Nant-084 BUILD FAILED INTERNAL ERROR System.ArgumentException: Xml node has not been mapped. at NAnt.Core.LocationMap.GetLocation(XmlNode node) at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() I will be very thankfull on advice. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] error while running windows Application using Nant
Kumar, This issue should be resolved in NAnt 0.85. Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of naveen kumar Sent: maandag 23 mei 2005 8:39 To: nant-developers@lists.sourceforge.net Subject: [nant-dev] error while running windows Application using Nant Hi, I got a problem while running a windowsApplication. My default.build file is also pasted below. ?xml version=1.0? project name=ClassLibWinApp default=run basedir=. target name=build csc target=exe output=bin\debug\ClassLibWinApp.exe sources includes name=Users.cs/ includes name=Register.cs/ includes name=Form1.cs/ includes name=Credit.cs/ /sources /csc /target target name=run depends=build exe program=bin\debug\ClassLibWinApp.exe/ /target /project The error i got while running the application using Nant-084 BUILD FAILED INTERNAL ERROR System.ArgumentException: Xml node has not been mapped. at NAnt.Core.LocationMap.GetLocation(XmlNode node) at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() I will be very thankfull on advice. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error in solution task
My solution WAS working, now it is not. I removed a project from the solution, and now it wont work, but the solution looks perfect, and the projects look fine. They open and build find in VS.NET and solution works perfect in VS.NET Z:\Projects\InstInf Analytics Clientnant -D:ccnet.label=1.2.3.5 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:///Z:/Projects/InstInf Analytics Client/analyticsClient.build Target(s) specified: build build: [attrib] Setting file attributes for 1 files to Normal. [attrib] Setting file attributes for 1 files to Normal. [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, So lutionTask solutionTask, String outputDir) at NAnt.VSNet.Project.Load(Solution sln, String projectPath) at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection t fc, String outputDir, String path) at NAnt.VSNet.Solution.LoadProjects() at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList additionalProjects, ArrayList ref erenceProjects, TempFileCollection tfc, SolutionTask solutionTask, WebMapCollection webMappings, Fil eSet 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.6 seconds. Bob Stewart Instant Information, LLC [EMAIL PROTECTED] (917) 656-2134
[nant-dev] error in unzip task
I'm geeting the an error while running the following target: *** target name="release" call target="pre-release"/ if test = "${string::contains(string::to-lower(Release.From), 'vss')==true}" echo message="calling release from vss"/ call target="vss-get-build-package-for-release"/ echo message="${VSS.ProjectPath}/Build/${Build.Package.Name}"/ unzip zipfile="${Release.Path}" todir="${Release.Path}"/ /if /target target name="pre-release" if test="${directory::exists(Release.Path)}" echo message="Path found"/ /if /target *** Error: Buildfile: file:///E:/Projects/EASS/Frameworks/BuildAndRelease/Source/NANTScript/buildcenter.buildTarget framework: Microsoft .NET Framework 1.1Target(s) specified: release release: pre-release: [echo] Path found [echo] calling release from vss vss-get-build-package-for-release: [vssget] Getting '$/EASS/EAI/Build/Build_051120051725.zip' to '\\delminfraapp\release'... [echo] $/EASS/EAI/Build/Build_051120051725.zip BUILD FAILED INTERNAL ERROR System.UnauthorizedAccessException: Access to the path "\\delminfraapp\release"is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,FileShare share) at System.IO.FileInfo.OpenRead() at NAnt.Compression.Tasks.UnZipTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.TaskContainer.ExecuteChildTasks() at NAnt.Core.Tasks.IfTask.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 nant-developers@lists.sourceforge.net. Total time: 0.3 seconds. ** Error message itself says send a bug report to the developers discussion forum. I'm using nant-0.85-rc3. Any pointers to workaround the same. Thanks Shelly
[nant-dev] Error on building nant
Using: nmake -f Makefile.nmake install prefix=c:\Program Files On: OS: Windows XP Professional SP 2 .NET Framework v. version 1.1.4322.573 In the Visual Studio .NET 2003 command Prompt Output: if not exist bootstrap md bootstrap if not exist bootstrap\lib md bootstrap\lib xcopy lib bootstrap\lib /S /Y /Q 36 File(s) copied copy lib\log4net.dll bootstrap 1 file(s) copied. copy src\NAnt.Console\App.config bootstrap\NAnt.exe.config 1 file(s) copied. csc -target:exe -define:NET -out:bootstrap\NAnt.exe -r:bootstrap\log4net.dll -recurse:src\NAnt.Console\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. resgen src\NAnt.Core\Resources\Strings.resx bootstrap\Strings.resources Read in 181 resources from 'src\NAnt.Core\Resources\Strings.resx' Writing resource file... Done. csc -target:library -warn:0 -define:NET -out:bootstrap\NAnt.Core.dll -r:bootstrap\log4net.dll -r:System.Web.dll -resource:bootstrap\Strings.resources -recurse:src\NAnt.Core\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. csc -target:library -warn:0 -define:NET -out:bootstrap\NAnt.DotNetTasks.dll -r:bootstrap\NAnt.Core.dll -r:bootstrap\lib\net\1.0\NDoc.Core.dll -recurse:src\NAnt.DotNet\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. csc -target:library -warn:0 -define:NET -out:bootstrap\NAnt.CompressionTasks.dll -r:bootstrap\NAnt.Core.dll -r:bootstrap\lib\ICSharpCode.SharpZipLib.dll -recurse:src\NAnt.Compression\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. csc -target:library -warn:0 -define:NET -out:bootstrap\NAnt.Win32Tasks.dll -r:bootstrap\NAnt.Core.dll -r:bootstrap\NAnt.DotNetTasks.dll -r:System.ServiceProcess.dll -r:Microsoft.JScript.dll -recurse:src\NAnt.Win32\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. bootstrap\NAnt.exe -f:NAnt.build install -D:install.prefix=c:\Program Files NAnt 0.85 (Build 0.85.1932.0; rc3; 16/04/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/NANT-0~1.85-/NAnt.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: install [tstamp] maandag 2 mei 2005 15:23:43. init: debug: set-framework-configuration: set-net-1.1-framework-configuration: build: [echo] Build Directory is C:\NANT-0~1.85-/build/net-1.1.win32/nant-0.85-debug [mkdir] Creating directory 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin'. [mkdir] Creating directory 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin\lib'. [copy] Copying 2 files to 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin'. [copy] Copying 34 files to 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin\lib'. [nant] C:\NANT-0~1.85-\src\NAnt.Core\NAnt.Core.build build Buildfile: file:///C:/NANT-0~1.85-/src/NAnt.Core/NAnt.Core.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: build build: BUILD FAILED INTERNAL ERROR System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure Strings.resources was correctly embedded or linked into assembly NAnt.DotNetTasks. baseName: Strings locationInfo: null resource file name: Strings.resources assembly: NAnt.DotNetTasks, Version=0.85.1932.0, Culture=neutral, PublicKeyToken=null at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.GetString(String name, CultureInfo culture) at NAnt.Core.Util.ResourceUtils.GetString(String name, CultureInfo culture, Assembly assembly)
RE: [nant-dev] Error on building nant
Brecht, This has since been fixed (in cvs). Thanks for the report ! Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brecht Yperman Sent: maandag 2 mei 2005 15:30 To: nant-developers@lists.sourceforge.net Subject: [nant-dev] Error on building nant Using: nmake -f Makefile.nmake install prefix=c:\Program Files On: OS: Windows XP Professional SP 2 .NET Framework v. version 1.1.4322.573 In the Visual Studio .NET 2003 command Prompt Output: if not exist bootstrap md bootstrap if not exist bootstrap\lib md bootstrap\lib xcopy lib bootstrap\lib /S /Y /Q 36 File(s) copied copy lib\log4net.dll bootstrap 1 file(s) copied. copy src\NAnt.Console\App.config bootstrap\NAnt.exe.config 1 file(s) copied. csc -target:exe -define:NET -out:bootstrap\NAnt.exe -r:bootstrap\log4net.dll -recurse:src\NAnt.Console\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. resgen src\NAnt.Core\Resources\Strings.resx bootstrap\Strings.resources Read in 181 resources from 'src\NAnt.Core\Resources\Strings.resx' Writing resource file... Done. csc -target:library -warn:0 -define:NET -out:bootstrap\NAnt.Core.dll -r:bootstrap\log4net.dll -r:System.Web.dll -resource:bootstrap\Strings.resources -recurse:src\NAnt.Core\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. csc -target:library -warn:0 -define:NET -out:bootstrap\NAnt.DotNetTasks.dll -r:bootstrap\NAnt.Core.dll -r:bootstrap\lib\net\1.0\NDoc.Core.dll -recurse:src\NAnt.DotNet\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. csc -target:library -warn:0 -define:NET -out:bootstrap\NAnt.CompressionTasks.dll -r:bootstrap\NAnt.Core.dll -r:bootstrap\lib\ICSharpCode.SharpZipLib.dll -recurse:src\NAnt.Compression\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. csc -target:library -warn:0 -define:NET -out:bootstrap\NAnt.Win32Tasks.dll -r:bootstrap\NAnt.Core.dll -r:bootstrap\NAnt.DotNetTasks.dll -r:System.ServiceProcess.dll -r:Microsoft.JScript.dll -recurse:src\NAnt.Win32\*.cs src\CommonAssemblyInfo.cs Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. All rights reserved. bootstrap\NAnt.exe -f:NAnt.build install -D:install.prefix=c:\Program Files NAnt 0.85 (Build 0.85.1932.0; rc3; 16/04/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/NANT-0~1.85-/NAnt.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: install [tstamp] maandag 2 mei 2005 15:23:43. init: debug: set-framework-configuration: set-net-1.1-framework-configuration: build: [echo] Build Directory is C:\NANT-0~1.85-/build/net-1.1.win32/nant-0.85-debug [mkdir] Creating directory 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin'. [mkdir] Creating directory 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin\lib'. [copy] Copying 2 files to 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin'. [copy] Copying 34 files to 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin\lib'. [nant] C:\NANT-0~1.85-\src\NAnt.Core\NAnt.Core.build build Buildfile: file:///C:/NANT-0~1.85-/src/NAnt.Core/NAnt.Core.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: build build: BUILD FAILED INTERNAL ERROR System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure Strings.resources was correctly embedded or linked into assembly NAnt.DotNetTasks. baseName: Strings locationInfo: null resource file name: Strings.resources assembly: NAnt.DotNetTasks, Version=0.85.1932.0, Culture=neutral, PublicKeyToken=null at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.InternalGetResourceSet
[nant-dev] error during build - IO.PathTooLongException
C:\ClearCase\xnsccommands\LDN_EQ_XN\application\dotnet\StrategyCentre\src\app\cs harp\Tools\BuildAll\Build Templatesrem @echo off C:\ClearCase\xnsccommands\LDN_EQ_XN\application\dotnet\StrategyCentre\src\app\cs harp\Tools\BuildAll\Build Templatesprompt $N$F C)cd C:\ClearCase\xnsccommands\LDN_EQ_XN\application\dotnet\StrategyCentre\src\ app\csharp\Tools\BuildAll\Build Templates\Build.cmd\..\..\..\..\..\..\..\..\..\ .. C)call :SetViewnameToPath . C)set VIEWNAME=\ClearCase\xnsccommands\ C)echo Press Enter to build this branch: \ClearCase\xnsccommands\ Press Enter to build this branch: \ClearCase\xnsccommands\ C)pause Press any key to continue . . . C)c: C)cd \ClearCase\xnsccommands\LDN_EQ_XN\application\dotnet\StrategyCentre\src\app \csharp\Tools\BuildAll C)C:\ClearCase\xnsccommands\LDN_EQ_XN\application\dotnet\StrategyCentre\src\app\ csharp\Tools\NAnt.Ubs\NAnt\0_85\nant -D:viewSubPath=\ClearCase\xnsccommands\ NAnt 0.85 (Build 0.85.1523.0; net-1.1.win32; nightly; 03/03/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/ClearCase/xnsccommands/LDN_EQ_XN/application/dotnet/Strate gyCentre/src/app/csharp/Tools/BuildAll/BuildAll.build Target(s) specified: build build: setProperties: [echo] Using viewbase = c:\ClearCase\xnsccommands\ buildAll: buildSolution: [solution] Starting solution build. BUILD FAILED INTERNAL ERROR System.IO.PathTooLongException: The path is too long after being fully qualified . Make sure path is less than 260 characters. at System.IO.Path.nGetFullPathHelper(String path, Char[] invalidPathChars, Ch ar[] whitespaceChars, Char directorySeparator, Char altDirectorySeparator, Char volumeSeparator, Boolean fullCheck, String newPath) at System.IO.Path.GetFullPathInternal(String path) at System.IO.FileInfo..ctor(String fileName) at NAnt.VSNet.Project.Load(Solution sln, String projectPath) at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection tfc, DirectoryInfo outputDir, String path) at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlEleme nt elemReference, SolutionTask solutionTask, DirectoryInfo outputDir) at NAnt.VSNet.Project.Load(Solution sln, String projectPath) at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection tfc, DirectoryInfo outputDir, String path) at NAnt.VSNet.Solution.LoadProjects() at NAnt.VSNet.Solution..ctor(FileInfo solutionFile, ArrayList additionalProje cts, ArrayList referenceProjects, TempFileCollection tfc, SolutionTask solutionT ask, WebMapCollection webMappings, FileSet excludesProjects, DirectoryInfo outpu tDir) 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(String targetName) at NAnt.Core.Tasks.CallTask.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(String targetName) at NAnt.Core.Tasks.CallTask.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.5 seconds. C)rem nant is finished. C)pause Press any key to continue . . . Visit our website at http://www.ubs.com 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. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] error during build - IO.PathTooLongException
Anthony, Can you try using a recent nightly build or the upcoming 0.85 RC3 release ? If you can still reproduce it, then send me a small repro. Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: vrijdag 15 april 2005 13:00 To: nant-developers@lists.sourceforge.net Subject: [nant-dev] error during build - IO.PathTooLongException C:\ClearCase\xnsccommands\LDN_EQ_XN\application\dotnet\Strateg yCentre\src\app\cs harp\Tools\BuildAll\Build Templatesrem @echo off C:\ClearCase\xnsccommands\LDN_EQ_XN\application\dotnet\Strateg yCentre\src\app\cs harp\Tools\BuildAll\Build Templatesprompt $N$F C)cd C:\ClearCase\xnsccommands\LDN_EQ_XN\application\dotnet\Strate gyCentre\src\ app\csharp\Tools\BuildAll\Build Templates\Build.cmd\..\..\..\..\..\..\..\..\..\ .. C)call :SetViewnameToPath . C)set VIEWNAME=\ClearCase\xnsccommands\ C)echo Press Enter to build this branch: \ClearCase\xnsccommands\ Press Enter to build this branch: \ClearCase\xnsccommands\ C)pause Press any key to continue . . . C)c: C)cd \ClearCase\xnsccommands\LDN_EQ_XN\application\dotnet\StrategyC entre\src\app \csharp\Tools\BuildAll C)C:\ClearCase\xnsccommands\LDN_EQ_XN\application\dotnet\Strat egyCentre\src\app\ csharp\Tools\NAnt.Ubs\NAnt\0_85\nant -D:viewSubPath=\ClearCase\xnsccommands\ NAnt 0.85 (Build 0.85.1523.0; net-1.1.win32; nightly; 03/03/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/ClearCase/xnsccommands/LDN_EQ_XN/application/dotnet/Strate gyCentre/src/app/csharp/Tools/BuildAll/BuildAll.build Target(s) specified: build build: setProperties: [echo] Using viewbase = c:\ClearCase\xnsccommands\ buildAll: buildSolution: [solution] Starting solution build. BUILD FAILED INTERNAL ERROR System.IO.PathTooLongException: The path is too long after being fully qualified . Make sure path is less than 260 characters. at System.IO.Path.nGetFullPathHelper(String path, Char[] invalidPathChars, Ch ar[] whitespaceChars, Char directorySeparator, Char altDirectorySeparator, Char volumeSeparator, Boolean fullCheck, String newPath) at System.IO.Path.GetFullPathInternal(String path) at System.IO.FileInfo..ctor(String fileName) at NAnt.VSNet.Project.Load(Solution sln, String projectPath) at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection tfc, DirectoryInfo outputDir, String path) at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlEleme nt elemReference, SolutionTask solutionTask, DirectoryInfo outputDir) at NAnt.VSNet.Project.Load(Solution sln, String projectPath) at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection tfc, DirectoryInfo outputDir, String path) at NAnt.VSNet.Solution.LoadProjects() at NAnt.VSNet.Solution..ctor(FileInfo solutionFile, ArrayList additionalProje cts, ArrayList referenceProjects, TempFileCollection tfc, SolutionTask solutionT ask, WebMapCollection webMappings, FileSet excludesProjects, DirectoryInfo outpu tDir) 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(String targetName) at NAnt.Core.Tasks.CallTask.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(String targetName) at NAnt.Core.Tasks.CallTask.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.5 seconds. C)rem nant is finished. C)pause Press any key to continue . . . Visit our website at http://www.ubs.com 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. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed
[nant-dev] Error building NAnt for builds after nant-0.85-nightly-2005-03-10
For builds after nant-0.85-nightly-2005-03-10, the build command: nmake -f Makefile.nmake install prefix=installation path fails with the error: C:\MyWork\NAnt\nant-0.85-nightly-2005-03-25\NAnt.build(749,14): Property evaluation failed. Expression: ${build.dir} ^ Property 'build.dir' has not been set. Comparing the NAnt.build files from nant-0.85-nightly-2005-03-10 and later builds, the error seems to be due to the dependency userdoc being removed from the target install-windows. Modifying the target line to target name=install-windows depends=userdoc if=${platform::is-win32()} seems to address the issue. HTH :: subbu balakrishnan :: sungard treasury systems :: level 1, 333 george street, sydney, nsw 2000, australia :: +61 (0)2 8234 3644 (direct), +61 (0)411 475 370 (mobile) :: http://www.sungard.com --- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error: System.IO.PathTooLongException
BUILD FAILED INTERNAL ERROR Hello, I am not sure what is causeing this. I added a .png file to the site and started getting this error. I doubt the .png file has anything to do with the error, but there you have it. If you have any insights, I would be interested. System.IO.PathTooLongException: The path is too long after being fully qualified . Make sure path is less than 260 characters. at System.IO.Path.nGetFullPathHelper(String path, Char[] invalidPathChars, Ch ar[] whitespaceChars, Char directorySeparator, Char altDirectorySeparator, Char volumeSeparator, Boolean fullCheck, String newPath) at System.IO.Path.GetFullPathInternal(String path) at System.IO.FileInfo..ctor(String fileName) at NAnt.Core.Tasks.CopyTask.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] Thanks, Stewart Haddock Deardorff Communications
[nant-dev] Error
I recieved this error and it said to send it to you. error is in err.txt and the build file used is also attached. Let me know if I need to give you any more information. I am new to Nant, and am almost 95% sure the problem is on my side and not in the tool. Thanks Brian English 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:/Current Work/Payroll/payroll.build Target(s) specified: deploy.test clean: [delete] Cannot delete file C:\Current Work\Payroll\bin\Payroll.pdb. [delete] Deleting 0 files. [delete] Cannot delete file C:\Current Work\Payroll\bin\Payroll.exe. [delete] Deleting 0 files. defineResourcesPath: build: BUILD FAILED INTERNAL ERROR System.ArgumentException: Xml node has not been mapped. at NAnt.Core.LocationMap.GetLocation(XmlNode node) at NAnt.Core.AttributeConfigurator.InitializeElement(XmlNode elementNode, PropertyDictionary properties, FrameworkInfo framework) at NAnt.Core.Element.Initialize(XmlNode elementNode) 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.1 seconds. payroll.build Description: payroll.build
RE: [nant-dev] Error
Brian, This issue was resolved after the 0.84 release of NAnt. try using NAnt 0.85 RC1 or a recent nightly build (http://nant.sourceforge.net/nightly/latest). Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian EnglishSent: woensdag 5 januari 2005 23:09To: nant-developers@lists.sourceforge.netSubject: [nant-dev] Error I recieved this error and it said to send it to you. error is in err.txt and the build file used is also attached. Let me know if I need to give you any more information. I am new to Nant, and am almost 95% sure the problem is on my side and not in the tool. Thanks Brian English
[nant-dev] Error happened when unziping a file
BUILD FAILED INTERNAL ERROR System.IO.FileNotFoundException: Could not find file E:\devtrees\ACF\Src\prebuilt\GdiPlus.dl l. File name: E:\devtrees\ACF\Src\prebuilt\GdiPlus.dll at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare sha re, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare sha re) at System.IO.FileInfo.OpenRead() at NAnt.Compression.Tasks.UnZipTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Tasks.CallTask.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.1 seconds. I double and triple checked to make sure the zip file was in the folder. I tried accessing it as .\, just the name and the full path specified. All resulted in the same error above. Here is the command that calls the unzip call in my .build folder: I am using nant .85 on windows 2003 server. target name=retail property name=CurrentTarget value=retail / call target=UnzipFiles / /target target name=UnzipFiles description=unzips the files to the image folder mkdir dir=${ACFBIN}\image\${CurrentTarget}\dll / unzip zipfile=E:\devtrees\ACF\Src\prebuilt\GdiPlus.dll todir=${ACFBIN}\image\${CurrentTarget}\dll verbose=${VERBOSE} / /target ACFBIN is set in an included .build file. I have used this extensively in other files without problems. Any ideas?
RE: [nant-dev] Error building using Solution Target
Conley, The "CATS.CommonUI.vbproj" project is invalid as there's no ProjectGuid attribute (containing the GUID of the project) on the VisualBasic node. The next nightly build will provide a more meaningful message when it encounters this. Hope this helps, Gert From: Conley, Michael T. (JRA) [mailto:[EMAIL PROTECTED] Sent: dinsdag 9 november 2004 17:57To: 'Gert Driesen'; Conley, Michael T. (JRA); [EMAIL PROTECTED]Subject: RE: [nant-dev] Error building using Solution Target Attached is a zip containing the Solution and Project files as you requested. Thank you for looking into this. From: Gert Driesen [mailto:[EMAIL PROTECTED] Sent: Monday, November 08, 2004 10:28 PMTo: 'Conley, Michael T. (JRA)'; [EMAIL PROTECTED]Subject: RE: [nant-dev] Error building using Solution Target Conley, I would be very much interested if you could package up a small repro for this issue. If you don't want to send me the source code for these projects, you can just send me the solution file and all project files (*.csproj and *.vbproj). Thanks ! Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Conley, Michael T. (JRA)Sent: maandag 8 november 2004 19:32To: '[EMAIL PROTECTED]'Subject: [nant-dev] Error building using Solution Target I get an internal error building one solution that I have. The following is list of the projects in the solution in the order they are set to build in Visual Studio. CommonUI (solution) CATS.CommonUI (VB Project) CATS.CommonUI.Controls (VB Project) CATS.CommonUI.Controls.CollapsibleSplitter (C# Project) CATS.CommonUI.Forms (VB Project) CATS.CommonUI.MainMenu (VB Project) CATS.CommonUI.Singletongs (VB Project) CATS.CommonUI.Startup (VB Project) The Target I use is as follows. solution configuration="${config}" outputdir="${UIoutputDir}" solutionfile="${SourceIteration}\UI\CommonUI.root\CommonUI\CommonUI.sln" includevsfolders="true" verbose="true"/solution All the properties are set correctly and using other solutions this target statement works. Below is the output from verbose. One of my first thoughts is how does NAnt determine the build order when using a solution target. The one it used was clearly not what was specified in the solution. While I'm not certain that this is the error thrown it is attempting to build the projects in an order that won't work to do project dependencies. __ NAnt 0.85 (Build 0.85.1768.0; nightly; 11/3/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net [loadtasks] Failure scanning "C:\NantTest\NAnt.NUnit1Tasks.dll" for extensions. One or more of the types in the assembly unable to load. Buildfile: file:///C:/NantTest/WinCATSUI.Build Target(s) specified: debug debug: clean: cleaner: [delete] Deleting 0 files. buildUI: [solution] Starting solution build. [solution] Loading projects... [solution] Loading project 'c:\src\ITERATION_6\UI\CommonUI.root\CommonUI\CATS.CommonUI.Controls.CollapsibleSplitter\CATS.CommonUI.Controls.CollapsibleSplitter.csproj'. [solution] Loading project 'c:\src\ITERATION_6\UI\CommonUI.root\CommonUI\CATS.CommonUI.Singletons\CATS.CommonUI.Singletons.vbproj'. BUILD FAILED INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance of an object. at NAnt.VSNet.ProjectSettings.GetProjectGuid(XmlElement elemRoot) in d:\Source\nant-20041103T201108Z\src\NAnt.VSNet\ProjectSettings.cs:line 261 at NAnt.VSNet.ProjectSettings..ctor(XmlElement elemRoot, XmlElement elemSettings, Project project) in d:\Source\nant-20041103T201108Z\src\NAnt.VSNet\ProjectSettings.cs:line 46 at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in d:\Source\nant-20041103T201108Z\src\NAnt.VSNet\Project.cs:line 168 at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir, String path) in d:\Source\nant-20041103T201108Z\src\NAnt.VSNet\ProjectFactory.cs:line 100 at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlElement elemReference, GacCache gacCache, ReferencesResolver refResolver, ProjectBase parent, Directory
RE: [nant-dev] Error building using Solution Target
From: Conley, Michael T. (JRA) [mailto:[EMAIL PROTECTED] Sent: woensdag 10 november 2004 18:42 To: 'Gert Driesen'; [EMAIL PROTECTED] Subject: RE: [nant-dev] Error building using Solution Target I'm finding that the following three projects (of seven) don't have ProjectGuid attributes: CATS.CommonUI.vbproj CATS.CommonUI.forms.vbproj CATS.CommonUI.Controls.vbproj These were all Visual Studio 2002 projects (as with the solution containing all 7) upgraded to 2003. Do you know if the ProjectGuid attribute was new to 2003? I don't know for sure. Can you try creating a new project in VS.NET 2002 and see if it has a ProjectGuid attribute ? Thanks Gert --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] Error building using Solution Target
Conley, I would be very much interested if you could package up a small repro for this issue. If you don't want to send me the source code for these projects, you can just send me the solution file and all project files (*.csproj and *.vbproj). Thanks ! Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Conley, Michael T. (JRA)Sent: maandag 8 november 2004 19:32To: '[EMAIL PROTECTED]'Subject: [nant-dev] Error building using Solution Target I get an internal error building one solution that I have. The following is list of the projects in the solution in the order they are set to build in Visual Studio. CommonUI (solution) CATS.CommonUI (VB Project) CATS.CommonUI.Controls (VB Project) CATS.CommonUI.Controls.CollapsibleSplitter (C# Project) CATS.CommonUI.Forms (VB Project) CATS.CommonUI.MainMenu (VB Project) CATS.CommonUI.Singletongs (VB Project) CATS.CommonUI.Startup (VB Project) The Target I use is as follows. solution configuration="${config}" outputdir="${UIoutputDir}" solutionfile="${SourceIteration}\UI\CommonUI.root\CommonUI\CommonUI.sln" includevsfolders="true" verbose="true"/solution All the properties are set correctly and using other solutions this target statement works. Below is the output from verbose. One of my first thoughts is how does NAnt determine the build order when using a solution target. The one it used was clearly not what was specified in the solution. While I'm not certain that this is the error thrown it is attempting to build the projects in an order that won't work to do project dependencies. __ NAnt 0.85 (Build 0.85.1768.0; nightly; 11/3/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net [loadtasks] Failure scanning "C:\NantTest\NAnt.NUnit1Tasks.dll" for extensions. One or more of the types in the assembly unable to load. Buildfile: file:///C:/NantTest/WinCATSUI.Build Target(s) specified: debug debug: clean: cleaner: [delete] Deleting 0 files. buildUI: [solution] Starting solution build. [solution] Loading projects... [solution] Loading project 'c:\src\ITERATION_6\UI\CommonUI.root\CommonUI\CATS.CommonUI.Controls.CollapsibleSplitter\CATS.CommonUI.Controls.CollapsibleSplitter.csproj'. [solution] Loading project 'c:\src\ITERATION_6\UI\CommonUI.root\CommonUI\CATS.CommonUI.Singletons\CATS.CommonUI.Singletons.vbproj'. BUILD FAILED INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance of an object. at NAnt.VSNet.ProjectSettings.GetProjectGuid(XmlElement elemRoot) in d:\Source\nant-20041103T201108Z\src\NAnt.VSNet\ProjectSettings.cs:line 261 at NAnt.VSNet.ProjectSettings..ctor(XmlElement elemRoot, XmlElement elemSettings, Project project) in d:\Source\nant-20041103T201108Z\src\NAnt.VSNet\ProjectSettings.cs:line 46 at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in d:\Source\nant-20041103T201108Z\src\NAnt.VSNet\Project.cs:line 168 at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir, String path) in d:\Source\nant-20041103T201108Z\src\NAnt.VSNet\ProjectFactory.cs:line 100 at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlElement elemReference, GacCache gacCache, ReferencesResolver refResolver, ProjectBase parent, DirectoryInfo outputDir) in d:\Source\nant-20041103T201108Z\src\NAnt.VSNet\Reference.cs:line 105 at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in d:\Source\nant-20041103T201108Z\src\NAnt.VSNet\Project.cs:line 178 at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask, TempFileCollection tfc, GacCache gacCache, ReferencesResolver refResolver, DirectoryInfo outputDir, String path) in d:\Source\nant-20041103T201108Z\src\NAnt.VSNet\ProjectFactory.cs:line 100 at NAnt.VSNet.Solution.LoadProjects(GacCache gacCache, ReferencesResolver refResolver) in d:\Source\nant-20041103T201108Z\src\NAnt.VSNet\Solution.cs:line 574 at NAnt.VSNet.Solution..ctor(FileInfo solutionFile, ArrayList additionalProjects, ArrayList referenceProjects, TempFileCollection tfc, SolutionTask solutionTask, WebMapCollection webMaps, FileSet excludesProjects, DirectoryInfo outputDir, GacCache gacCache, ReferencesResolver refResolver) in d:\Source\nant-20041103T201108Z\src\NAnt.VSNet\Solution.cs:line 130 at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in d:\Source\nan
[nant-dev] Error after adding vssget?
I get the error below after adding the following to my build file: loadtasks assembly=${nant.contrib}/NAnt.Contrib.Tasks.dll / vssget user=nant password=builder localpath=C:\CBS\ recursive=true replace=true writable=true removedeleted=true dbpath=\\dirto\VSS\srcsafe.ini path=$/project/SRC Mirror/ C:\Visual Studio Projects\CBS 3.0 (GAPNET)nant init 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:/Visual Studio Projects/CBS 3.0 (GAPNET)/CBS.build Target(s) specified: init init: [loadtasks] Loading tasks from assembly C:\NAntContrib\bin/NAnt.Contrib.Tasks.dll. BUILD FAILED INTERNAL ERROR System.ArgumentException: Xml node has not been mapped. at NAnt.Core.LocationMap.GetLocation(XmlNode node) 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] Any insight how to fix this? Christian Duhard [EMAIL PROTECTED] Convergys Corporation (204) 833-8644
Re: [nant-dev] Error after adding vssget?
Christian, This is a known issue for NAnt 0.84. Can you try using a recent nightly build of NAnt 0.85 (http://nant.sourceforge.net/nightly/builds) ? You'll need a corresponding nightly build of NAntContrib too though (http://nantcontrib.sourceforge.net/nightly/builds). Thanks ! Gert - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 11:21 PM Subject: [nant-dev] Error after adding vssget? I get the error below after adding the following to my build file: loadtasks assembly=${nant.contrib}/NAnt.Contrib.Tasks.dll / vssget user=nant password=builder localpath=C:\CBS\ recursive=true replace=true writable=true removedeleted=true dbpath=\\dirto\VSS\srcsafe.ini path=$/project/SRC Mirror/ C:\Visual Studio Projects\CBS 3.0 (GAPNET)nant init 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:/Visual Studio Projects/CBS 3.0 (GAPNET)/CBS.build Target(s) specified: init init: [loadtasks] Loading tasks from assembly C:\NAntContrib\bin/NAnt.Contrib.Tasks.dll. BUILD FAILED INTERNAL ERROR System.ArgumentException: Xml node has not been mapped. at NAnt.Core.LocationMap.GetLocation(XmlNode node) 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] Any insight how to fix this? Christian Duhard [EMAIL PROTECTED] Convergys Corporation (204) 833-8644 --- 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
[nant-dev] error message
Any help with this? Target(s) specified: self-userdoc self-userdoc: BUILD FAILED INTERNAL ERROR NDoc.Core.DocumenterException: Error reading in project file C:\DOCUME~1\ROONEY~ 1.8VL\LOCALS~1\Temp\tmpC5.tmp. Object reference not set to an instance of an object. --- System.NullReferenceE xception: Object reference not set to an instance of an object. at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvid er provider) at NDoc.Core.BaseDocumenterConfig.Read(XmlReader reader) at NDoc.Core.Project.ReadDocumenters(XmlReader reader) at NDoc.Core.Project.Read(String filename) --- End of inner exception stack trace --- at NDoc.Core.Project.Read(String filename) at NAnt.DotNet.Tasks.NDocTask.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.
[nant-dev] Error in nant 0.84
Hi, Running Nant version 0.84. Trying to build .net solution (with 3 VB projects). Received an error message from Nant during build, see attchment errmsg.txt I also included the build file used, the .NET solution file and the 3 VBProject files. Hope it will help. Regards, Robert Robert de Jager Database Administrator Norfolkline ICT department Office: +31 703527418 Mobile: +31 651005721 [EMAIL PROTECTED] http://www.norfolkline.com This message contains information that may be privileged or confidential and is the property of the Norfolkline Group. It is only intended for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. transit.build Description: Binary data NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 26-Dec-2003) Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/Program Files/NAnt/TransiT/transit.build Target(s) specified: build build: [mkdir] Creating directory C:\Program Files\NAnt\TransiT\build. [solution] Starting solution build. BUILD FAILED INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance of an object. 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, SolutionTask 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.1 seconds. OtherSupport.sln Description: Binary data TransiT.Entities.OtherSupport.vbproj Description: Binary data TransiT.Services.OtherSupport.vbproj Description: Binary data UnitTestOtherSupport.vbproj Description: Binary data
Re: [nant-dev] Error in nant 0.84
Robert, I haven't yet verified this using the solution you attached, but I'm pretty sure this issue is fixed in the recent nightly builds (http://nant.sourceforge.net/nightly/builds). Gert - Original Message - From: Robert deJager [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 11:21 AM Subject: [nant-dev] Error in nant 0.84 Hi, Running Nant version 0.84. Trying to build .net solution (with 3 VB projects). Received an error message from Nant during build, see attchment errmsg.txt I also included the build file used, the .NET solution file and the 3 VBProject files. Hope it will help. Regards, Robert Robert de Jager Database Administrator Norfolkline ICT department Office: +31 703527418 Mobile: +31 651005721 [EMAIL PROTECTED] http://www.norfolkline.com This message contains information that may be privileged or confidential and is the property of the Norfolkline Group. It is only intended for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --- 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=4721alloc_id=10040op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] error using solution tag
Title: error using solution tag System.ComponentModel.Win32Exception: The system cannot find the file specified at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startIn fo) at System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) 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.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] brian chance [EMAIL PROTECTED] 816.237.7275
Re: [nant-dev] error using solution tag
Brian, Please try using a recent nightly build (http://nant.sourceforge.net/nightly/builds). Thanks, Gert - Original Message - From: Chance, Brian -- 7275 [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 8:56 PM Subject: [nant-dev] error using solution tag System.ComponentModel.Win32Exception: The system cannot find the file specified at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startIn fo) at System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) 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.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] brian chance [EMAIL PROTECTED] 816.237.7275 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Error while Building solution with NAnt
I can still see this one... With the 03/13/2004 build. I suppose I should be using the PIA for Office rather than a manually generated interop assembly... But I don't think that's the culprit. - Original Message - From: Gert Driesen Subject: Re: [nant-dev] Error while Building solution with NAnt Date: Thu, 26 Feb 2004 23:42:51 -0800 Rajeev, Can you try using the latest nightly build (http://nant.sourceforge.net/nightly/builds) as there have been some fixed in this area recently ? Thanks, Gert - Original Message - From: Rajeev Ramaswamy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 26, 2004 7:34 AM Subject: [nant-dev] Error while Building solution with NAnt I got the following error while using the solution task for building my project. VSSSolution: [solution] Starting solution build. BUILD FAILED INTERNAL ERROR System.ApplicationException: Couldn't find reference to type library 'Office' (T YPELIB\{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}\2.0\0\win32). at NAnt.VSNet.Reference.HandleWrapperImport(XmlElement elemReference) --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Error while Building solution with NAnt
Jeff, You should definitely get another message using the latest nightly build. Can you package up a zip file that allows me to reproduce this issue, and possible also send me your build log, created using : NAnt.exe -buildfile:build file -verbose -logfile:buildlog.txt (so also send me the buildlog.txt file) Gert - Original Message - From: Jeff Vanerwegen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 15, 2004 4:09 AM Subject: Re: [nant-dev] Error while Building solution with NAnt I can still see this one... With the 03/13/2004 build. I suppose I should be using the PIA for Office rather than a manually generated interop assembly... But I don't think that's the culprit. - Original Message - From: Gert Driesen Subject: Re: [nant-dev] Error while Building solution with NAnt Date: Thu, 26 Feb 2004 23:42:51 -0800 Rajeev, Can you try using the latest nightly build (http://nant.sourceforge.net/nightly/builds) as there have been some fixed in this area recently ? Thanks, Gert - Original Message - From: Rajeev Ramaswamy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 26, 2004 7:34 AM Subject: [nant-dev] Error while Building solution with NAnt I got the following error while using the solution task for building my project. VSSSolution: [solution] Starting solution build. BUILD FAILED INTERNAL ERROR System.ApplicationException: Couldn't find reference to type library 'Office' (T YPELIB\{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}\2.0\0\win32). at NAnt.VSNet.Reference.HandleWrapperImport(XmlElement elemReference) --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error while Building solution with NAnt
I got the following error while using the solution task for building my project. VSSSolution: [solution] Starting solution build. BUILD FAILED INTERNAL ERROR System.ApplicationException: Couldn't find reference to type library 'Office' (T YPELIB\{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}\2.0\0\win32). at NAnt.VSNet.Reference.HandleWrapperImport(XmlElement elemReference) 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()
Re: [nant-dev] Error while Building solution with NAnt
Rajeev, Can you try using the latest nightly build (http://nant.sourceforge.net/nightly/builds) as there have been some fixed in this area recently ? Thanks, Gert - Original Message - From: Rajeev Ramaswamy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 26, 2004 7:34 AM Subject: [nant-dev] Error while Building solution with NAnt I got the following error while using the solution task for building my project. VSSSolution: [solution] Starting solution build. BUILD FAILED INTERNAL ERROR System.ApplicationException: Couldn't find reference to type library 'Office' (T YPELIB\{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}\2.0\0\win32). at NAnt.VSNet.Reference.HandleWrapperImport(XmlElement elemReference) 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() --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] error report
C:\Projects\Utilities\UnderwoodEmailG:\download\Nant\nant-0.84\bin\nant 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:/Projects/Utilities/UnderwoodEmail/UnderwoodEmail.build Target(s) specified: build [tstamp] Wednesday, February 18, 2004 2:03:57 PM. UnderwoodEmail: [mkdir] Creating directory C:\Projects\Utilities\UnderwoodEmail\UnderwoodEmail\bin\Debug\. BUILD FAILED INTERNAL ERROR System.ArgumentException: Illegal characters in path. at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String [] str) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissio nAccess access, String [] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAcces s access, String[] pat hList, Boolean checkForDuplicates, Boolean needFullPath) at System.IO.Path.GetFullPath(String path) at NAnt.Core.Project.GetFullPath(String path) at NAnt.DotNet.Tasks.CompilerBase.get_Output() at NAnt.DotNet.Tasks.CompilerBase.NeedsCompiling() at NAnt.DotNet.Tasks.CompilerBase.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. --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56alloc_id438op=click ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error in Copy Output
Running nightly build from 2003-10-31. Copy is swapping the source and destination directory in some verbose output. Command Line:--- nant -nologo -v --- Relevant Target:--- target name=deploy copy file=foo.txt tofile=c:\destination\foo.txt / /target --- Relevant Output:--- deploy: [copy] Copying 1 file to C:\_Playpens\Root\trunk\development\tools\macros\visual-studio-net. [copy] Copying C:\_Playpens\Root\trunk\development\tools\macros\visual-studio-net\foo.txt to c:\destination\foo.txt --- Expected Output Candidate 1:--- deploy: [copy] Copying 1 file from C:\_Playpens\Root\trunk\development\tools\macros\visual-studio-net. [copy] Copying C:\_Playpens\Root\trunk\development\tools\macros\visual-studio-net\foo.txt to c:\destination\foo.txt --- Expected Output Candidate 2:--- deploy: [copy] Copying 1 file to c:\destination\foo.txt. [copy] Copying C:\_Playpens\Root\trunk\development\tools\macros\visual-studio-net\foo.txt to c:\destination\foo.txt --- Nick http://www.varacalli.com --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error while testing
Hi, while building on a friends PC, we got an error NAnt could not delete a directory. We looked, but it *was* deleted successfully. The user has admin rights. The directory is located under the temp dir. I've attached the log. -sa -- sa at programmers-world dot com http://www.livingit.de Bookmarks online: http://www.mobile-bookmarks.info Soon available in english A new supply of round tuits has arrived and are available from Mary. Anyone who has been putting off work until they got a round tuit now has no excuse for further procrastination. NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/NAnt.build [echo] Using 'net-1.0' Framework init: debug: build: [echo] Build Directory is C:\Documents and Settings\molitor_t\Desktop\nant-0.8.3.50105/build/nant-0.8.3.50105-debug [nant] src/NAnt.Core/NAnt.Core.build build Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.Core/NAnt.Core.build build: Total time: 0 seconds. BUILD SUCCEEDED [nant] src/NAnt.Console/NAnt.Console.build build Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.Console/NAnt.Console.build build: Total time: 0 seconds. BUILD SUCCEEDED [nant] src/NAnt.DotNet/NAnt.DotNet.build build Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.DotNet/NAnt.DotNet.build build: Total time: 0 seconds. BUILD SUCCEEDED [nant] src/NAnt.Zip/NAnt.Zip.build build Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.Zip/NAnt.Zip.build build: Total time: 0 seconds. BUILD SUCCEEDED [nant] src/NAnt.NUnit/NAnt.NUnit.build build Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.NUnit/NAnt.NUnit.build build: Total time: 0 seconds. BUILD SUCCEEDED [nant] src/NAnt.SourceControl/NAnt.SourceControl.build build Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.SourceControl/NAnt.SourceControl.build build: Total time: 0 seconds. BUILD SUCCEEDED [nant] src/NAnt.Win32/NAnt.Win32.build build Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.Win32/NAnt.Win32.build build: Total time: 0 seconds. BUILD SUCCEEDED [nant] src/NAnt.VSNet/NAnt.VSNet.build build Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.VSNet/NAnt.VSNet.build build: Total time: 0 seconds. BUILD SUCCEEDED [nant] src/NAnt.VisualCpp/NAnt.VisualCpp.build build Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.VisualCpp/NAnt.VisualCpp.build build: Total time: 0 seconds. BUILD SUCCEEDED [nant] tests/NAnt.Core/NAnt.Core.build build Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/tests/NAnt.Core/NAnt.Core.build build: Total time: 0 seconds. BUILD SUCCEEDED [nant] tests/NAnt.Console/NAnt.Console.build build Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/tests/NAnt.Console/NAnt.Console.build build: Total time: 0 seconds. BUILD SUCCEEDED [nant] tests/NAnt.DotNet/NAnt.DotNet.build build Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/tests/NAnt.DotNet/NAnt.DotNet.build build: Total time: 0 seconds. BUILD SUCCEEDED [nant] tests/NAnt.Zip/NAnt.Zip.build build Buildfile: file:///C:/Documents and Settings/molitor_t/Desktop/nant-0.8.3.50105/tests/NAnt.Zip/NAnt.Zip.build build: Total time: 0 seconds.
[nant-dev] error using Solution task
Help. I'm new to Nant (have used ANT in the Past) and I get the following error when using the solution task: INTERNAL ERROR System.IO.DirectoryNotFoundException: Could not find a part of the path C:\DOCUME~1\JONATH~1\LOCALS~1\Temp\ntjvg2hj. 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Jonathan David mailto:[EMAIL PROTECTED] Configuration Management tel: 416.601.9833 x323 fax: 416.601.9491 x.eye incorporated http://www.xeye.com/ 2425 Matheson Blvd, East, 4th Floor Mississauga, ON L4W 5K4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error using Solution task (addendum)
I get the following error when using the solution task in nAnt rev. 0.8.3: Buildfile: file:///C:/X.eye Workfiles/CORE/.netclient/app/xeye/framework/nant.build str_framework: [solution] Starting solution build. Total time: 0 seconds. BUILD FAILED INTERNAL ERROR System.NotSupportedException: The given path's format is not supported. at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) at System.Security.Util.StringExpressionSet.AddExpressions(String[] str, Boolean checkForDuplicates, Boolean needFullPath) at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) at System.IO.DirectoryInfo..ctor(String path) at NAnt.VSNet.Tasks.ConfigurationSettings..ctor(ProjectSettings ps, XmlElement elemConfig) at NAnt.VSNet.Tasks.Project.Load(Solution sln, String strFilename) at NAnt.VSNet.Tasks.Solution.LoadProjects() at NAnt.VSNet.Tasks.Solution..ctor(ArrayList alProjects, ArrayList alReferenceProjects, TempFileCollection tfc, Task nanttask) 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 Here is what my build file looks like: ?xml version=1.0? project name=Wmanager target name=str_framework solution configuration=Release projects includesList name=projects.txt/ /projects /solution /target /project Please let me know what's causing this error to be thrown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Jonathan David mailto:[EMAIL PROTECTED] Configuration Management tel: 416.601.9833 x323 fax: 416.601.9491 x.eye incorporated http://www.xeye.com/ 2425 Matheson Blvd, East, 4th Floor Mississauga, ON L4W 5K4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error
System.Exception: Couldn't find referenced assembly: E:\TeamFSI\Program Files\Microsoft.NET\Odbc.Net\Microsoft.Data.Odbc.dll at NAnt.VSNet.Tasks.Reference.GetReferenceFiles(ConfigurationSettings cs) 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.Project.InitializeProjectDocument(XmlDocument doc) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() Please send bug report to [EMAIL PROTECTED] Tony Seale-Senior Developer d +44 (0) 1708 251900|f+44 (0) 1708 641980 a FSI (FM Solutions) Ltd | Exchange House |180-182 St. Mary's Lane | Upminster | RM14 3BT e [EMAIL PROTECTED] w www.fsi.co.uk For the latest product, news and support information, visit our web site at:http://www.fsi.co.uk This e-mail is intended solely for the above-mentioned recipient and it may contain confidential or privileged information. If you have received it in error, please notify us immediately by telephone on +44 (0)1708 251 900 and delete the e-mail. You must not copy, distribute, disclose or take any action in reliance on it. The contents of any attachment to this e-mail may contain software viruses, which could damage your own computer system. While FSI (FM Solutions) Ltd has taken every reasonable precaution to minimize this risk; we cannot accept liability for any damage, which you sustain as a result of software viruses. You should carry out your own virus checks before opening any attachment
RE: [nant-dev] Error building latest NAnt
I am not sure if it is more sensitive or if the anonymous account is just a 2nd class citizen. I seem to have a number of timeouts/ broken sockets with tortoise and the command line while using the anonymous account. For the pserver connection the TcpClient.Connect class is being used. Does anyone know if it is possible to specify a timeout with this class? Clayton -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: June 17, 2003 7:24 PM To: Clayton Harbour Cc: Nant-Developers (E-mail) Subject: Re: [nant-dev] Error building latest NAnt Clayton Harbour wrote: Thanks Ian. I think you are right about the temp path, I have changed them. I have attached the two test files. One note, I could not complete a full test on them because the nant cvs server (where I run the tests against) was a little unresponsive. I will look at making this configurable tonight. I have noticed this in the past as well (i.e. not a problem with the code move), has anyone else noticed it? Yeah - I saw the same thing and I noticed that the cvs tasks seem to be a little more sensitive that the commandline client. Is that just a timeout setting or somthing like that ? Ian Clayton -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: June 16, 2003 11:18 PM To: Clayton Harbour Cc: Nant-Developers (E-mail) Subject: Re: [nant-dev] Error building latest NAnt Comitted - thanks Clayton. Do you think it would be a good idea to use Path.GetTempPath rather than hardcoding c:\temp in the test build files ? Ian Hi, I have attached a patch for the UpdateTaskTest. Thanks, Clayton -Original Message- From: Geurts, James [mailto:[EMAIL PROTECTED] Sent: June 16, 2003 10:15 AM To: 'Nant-Developers (E-mail)' Subject: [nant-dev] Error building latest NAnt Hey all... I'm having some troubles building the latest NAnt. The attached output is from me running: bin\nant -buildfile:nightly.xml release nightly from a fresh checkout this morning. Also, I must apologize for the nightly builds. I have been having a lot of grief trying to get wincvs draco to cooperate. If anyone thinks they can get a build machine setup instead, please let me know. Jim --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php ___ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] Error Building Latest NAnt - SourceControl Test failed
Hi Scott, I did a fresh compile and came across a couple of problems, not sure if you have one or both. The first is the nant tasks are not recognized because the path variable is not set to the build directory of nant. Probably pretty basic but it threw me for a loop tonight so I thought I would throw it out there. The next problem is the cvs server connection. Basically when the client cannot get a connection to the server it throws an Authentication error. This then is trapped, wrapped and rethrown in the BuildTestBase as a TestBuildException. What I have done to the test is to wrap the build test run in a loop which executes until a connection is made or until it has tried 100 times (infinite loops are evil (-:). If a connection is not made after 100 trials then I think it is okay to let the test fail because there is a larger problem. I have run the tests against my local repository and things worked out a little better. One of the reasons for this is there is probably a lot less activity going on here. Thanks, Clayton -Original Message- From: Scott A. Pascoe [mailto:[EMAIL PROTECTED] Sent: June 17, 2003 9:21 PM To: [EMAIL PROTECTED] Subject: [nant-dev] Error Building Latest NAnt - SourceControl Test failed I did a clean checkout tonight and the build failed with: [nunit2] Tests run: 2, Failures: 2, Not run: 0, Time: 1.8226026 seconds Failures: 1) Tests.NAnt.SourceControl.Tasks.CheckoutTaskTest.Test_CvsCheckout : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in C:\Library\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in C:\Library\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.SourceControl.Tasks.CheckoutTaskTest.Test_CvsCheckout() in C:\Library\nant\tests\NAnt.SourceControl\Tasks\CheckoutTaskTest.cs:line 34 2) Tests.NAnt.SourceControl.Tasks.UpdateTaskTest.Test_CvsUpdate : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in C:\Library\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in C:\Library\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.SourceControl.Tasks.UpdateTaskTest.Test_CvsUpdate() in C:\Library\nant\tests\NAnt.SourceControl\Tasks\UpdateTaskTest.cs:line 69 Thanks, Scott Pascoe --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.487 / Virus Database: 286 - Release Date: 6/1/2003 --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php ___ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Error building latest NAnt
Comitted - thanks Clayton. Do you think it would be a good idea to use Path.GetTempPath rather than hardcoding c:\temp in the test build files ? Ian Hi, I have attached a patch for the UpdateTaskTest. Thanks, Clayton -Original Message- From: Geurts, James [mailto:[EMAIL PROTECTED] Sent: June 16, 2003 10:15 AM To: 'Nant-Developers (E-mail)' Subject: [nant-dev] Error building latest NAnt Hey all... I'm having some troubles building the latest NAnt. The attached output is from me running: bin\nant -buildfile:nightly.xml release nightly from a fresh checkout this morning. Also, I must apologize for the nightly builds. I have been having a lot of grief trying to get wincvs draco to cooperate. If anyone thinks they can get a build machine setup instead, please let me know. Jim --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php ___ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] Error building latest NAnt
And I thought it was just TortoiseCVS timing out too soon... I usually get Tortoise to succeed on the 3rd or 4rth try. - Ants | -Original Message- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] On | Behalf Of Clayton Harbour | Sent: Tuesday, 17 June, 2003 07:27 | To: Ian MacLean | Cc: Nant-Developers (E-mail) | Subject: RE: [nant-dev] Error building latest NAnt | | | Thanks Ian. | | I think you are right about the temp path, I have changed | them. I have attached the two test files. One note, I could | not complete a full test on them because the nant cvs server | (where I run the tests against) was a little unresponsive. I | will look at making this configurable tonight. | | | I have noticed this in the past as well (i.e. not a problem | with the code move), has anyone else noticed it? | | | | Clayton | | -Original Message- | From: Ian MacLean [mailto:[EMAIL PROTECTED] | Sent: June 16, 2003 11:18 PM | To: Clayton Harbour | Cc: Nant-Developers (E-mail) | Subject: Re: [nant-dev] Error building latest NAnt | | Comitted - thanks Clayton. Do you think it would be a good | idea to use | Path.GetTempPath rather than hardcoding c:\temp in the test | build files ? | | Ian | | Hi, | | I have attached a patch for the UpdateTaskTest. Thanks, | | | Clayton | | -Original Message- | From: Geurts, James [mailto:[EMAIL PROTECTED] | Sent: June 16, 2003 10:15 AM | To: 'Nant-Developers (E-mail)' | Subject: [nant-dev] Error building latest NAnt | | Hey all... | | I'm having some troubles building the latest NAnt. The | attached output | is from me running: bin\nant -buildfile:nightly.xml release | nightly | from a fresh checkout this morning. Also, I must apologize for the | nightly builds. I have been having a lot of grief trying to | get wincvs | draco to cooperate. If anyone thinks they can get a build machine | setup instead, please let me know. | | Jim | | | | | | | --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php ___ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] Error Building Latest NAnt - SourceControl Test failed
I did a clean checkout tonight and the build failed with: [nunit2] Tests run: 2, Failures: 2, Not run: 0, Time: 1.8226026 seconds Failures: 1) Tests.NAnt.SourceControl.Tasks.CheckoutTaskTest.Test_CvsCheckout : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in C:\Library\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in C:\Library\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.SourceControl.Tasks.CheckoutTaskTest.Test_CvsCheckout() in C:\Library\nant\tests\NAnt.SourceControl\Tasks\CheckoutTaskTest.cs:line 34 2) Tests.NAnt.SourceControl.Tasks.UpdateTaskTest.Test_CvsUpdate : Error Executing Project at Tests.NAnt.Core.BuildTestBase.ExecuteProject(Project p) in C:\Library\nant\tests\NAnt.Core\BuildTestBase.cs:line 96 at Tests.NAnt.Core.BuildTestBase.RunBuild(String xml) in C:\Library\nant\tests\NAnt.Core\BuildTestBase.cs:line 80 at Tests.NAnt.SourceControl.Tasks.UpdateTaskTest.Test_CvsUpdate() in C:\Library\nant\tests\NAnt.SourceControl\Tasks\UpdateTaskTest.cs:line 69 Thanks, Scott Pascoe --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.487 / Virus Database: 286 - Release Date: 6/1/2003 NAnt version 0.8.2 Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/Library/nant/NAnt.build [echo] Using 'net-1.0' Framework init: debug: build: [echo] Build Directory is C:\Library\nant/build/nant-0.8.3-debug [mkdir] Creating directory C:\Library\nant/build/nant-0.8.3-debug/bin [copy] Copying 7 files to C:\Library\nant/build/nant-0.8.3-debug/bin [nant] src/NAnt.Core/NAnt.Core.build build Buildfile: file:///C:/Library/nant/src/NAnt.Core/NAnt.Core.build build: [csc] Compiling 81 files to C:\Library\nant\build\nant-0.8.3-debug\bin\NAnt.Core.dll BUILD SUCCEEDED Total time: 1 seconds [nant] src/NAnt.Console/NAnt.Console.build build Buildfile: file:///C:/Library/nant/src/NAnt.Console/NAnt.Console.build build: [csc] Compiling 3 files to C:\Library\nant\build\nant-0.8.3-debug\bin\NAnt.exe [copy] Copying 1 file BUILD SUCCEEDED Total time: 0 seconds [nant] src/NAnt.DotNet/NAnt.DotNet.build build Buildfile: file:///C:/Library/nant/src/NAnt.DotNet/NAnt.DotNet.build build: [csc] Compiling 14 files to C:\Library\nant\build\nant-0.8.3-debug\bin\NAnt.DotNetTasks.dll BUILD SUCCEEDED Total time: 0 seconds [nant] src/NAnt.Zip/NAnt.Zip.build build Buildfile: file:///C:/Library/nant/src/NAnt.Zip/NAnt.Zip.build build: [csc] Compiling 4 files to C:\Library\nant\build\nant-0.8.3-debug\bin\NAnt.ZipTasks.dll BUILD SUCCEEDED Total time: 0 seconds [nant] src/NAnt.NUnit/NAnt.NUnit.build build Buildfile: file:///C:/Library/nant/src/NAnt.NUnit/NAnt.NUnit.build build: [csc] Compiling 6 files to C:\Library\nant\build\nant-0.8.3-debug\bin\NAnt.NUnit.dll [csc] Compiling 14 files to C:\Library\nant\build\nant-0.8.3-debug\bin\NAnt.NUnit1Tasks.dll [csc] Compiling 6 files to C:\Library\nant\build\nant-0.8.3-debug\bin\NAnt.NUnit2Tasks.dll BUILD SUCCEEDED Total time: 1 seconds [nant] src/NAnt.SourceControl/NAnt.SourceControl.build build Buildfile: file:///C:/Library/nant/src/NAnt.SourceControl/NAnt.SourceControl.build build: [csc] Compiling 3 files to C:\Library\nant\build\nant-0.8.3-debug\bin\NAnt.SourceControlTasks.dll BUILD SUCCEEDED Total time: 0 seconds [nant] src/NAnt.Win32/NAnt.Win32.build build Buildfile: file:///C:/Library/nant/src/NAnt.Win32/NAnt.Win32.build build: [csc] Compiling 4 files to C:\Library\nant\build\nant-0.8.3-debug\bin\NAnt.Win32Tasks.dll BUILD SUCCEEDED Total time: 0 seconds [nant] src/NAnt.VSNet/NAnt.VSNet.build build Buildfile: file:///C:/Library/nant/src/NAnt.VSNet/NAnt.VSNet.build build: [csc] Compiling 10 files to C:\Library\nant\build\nant-0.8.3-debug\bin\NAnt.VSNetTasks.dll BUILD SUCCEEDED Total time: 0 seconds [nant] src/NAnt.VisualCpp/NAnt.VisualCpp.build build Buildfile:
RE: [nant-dev] Error building latest NAnt
Hi, I have attached a patch for the UpdateTaskTest. Thanks, Clayton -Original Message- From: Geurts, James [mailto:[EMAIL PROTECTED] Sent: June 16, 2003 10:15 AM To: 'Nant-Developers (E-mail)' Subject: [nant-dev] Error building latest NAnt Hey all... I'm having some troubles building the latest NAnt. The attached output is from me running: bin\nant -buildfile:nightly.xml release nightly from a fresh checkout this morning. Also, I must apologize for the nightly builds. I have been having a lot of grief trying to get wincvs draco to cooperate. If anyone thinks they can get a build machine setup instead, please let me know. Jim UpdateTaskTest.patch Description: UpdateTaskTest.patch
[nant-dev] Error while calling Nuit
I hvae a build which first compiles the code, creates testdll and and then call nunit for unit testing but when it tries to call nunit it errors out and generates following error. I am attaching my build file. Let me know if you have some suggestions on this. Thanks Anu INTERNAL ERRORSystem.IO.FileLoadException: Unable to load file 'nunit.framework'.File name: "nunit.framework" Server stack trace: at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark stackMark) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Booleanstringized, Evidence assemblySecurity, StackCrawlMark stackMark) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark stackMark) at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark stackMark) at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo) at System.AppDomain.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityAttributes) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[] outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData msgData, Int32 type) at System.AppDomain.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityAttributes) at SourceForge.NAnt.Tasks.NUnit2.NUnit2TestDomain.CreateTestRunner(AppDomaindomain) at SourceForge.NAnt.Tasks.NUnit2.NUnit2TestDomain.Run(String assemblyFile, String configFilePath, EventListener listener) at SourceForge.NAnt.Tasks.NUnit2.NUnit2Task.RunRemoteTest(NUnit2Test test, EventListener listener) at SourceForge.NAnt.Tasks.NUnit2.NUnit2Task.ExecuteTask() at SourceForge.NAnt.Task.Execute() at SourceForge.NAnt.Target.Execute() at SourceForge.NAnt.Project.Execute(String targetName) at SourceForge.NAnt.Project.Execute() at SourceForge.NAnt.Project.Run()Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! Bank2.build Description: Bank2.build
[nant-dev] error
hi pls find the reason for the error shown below system.uriformatexception: invalid uri: the format of the uri could not be determined at system.uri.parse at system.uri..ctorstring uristring,boolean dont escape at system.uri..ctorstring uristring at sourceforge.nant.project..ctorstring source at sourceforge.nant.nant.mainstring[] args thanks in advance saravana kumar --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] error
D:\Program Files\Nantnant clean INTERNAL ERROR System.Reflection.ReflectionTypeLoadException: One or more of the types in the a ssembly unable to load. at System.Reflection.Module.GetTypesInternal(StackCrawlMark stackMark) at System.Reflection.Assembly.GetTypes() at SourceForge.NAnt.TaskFactory.AddTasks(Assembly assembly) at SourceForge.NAnt.TaskFactory.Initialize() at SourceForge.NAnt.Project.ctorHelper(XmlDocument doc) at SourceForge.NAnt.Project..ctor(String source) at SourceForge.NAnt.NAnt.Main(String[] args)
[nant-dev] Error message when building NAnt -- continued..... Verbose
Hi I have rerun the NAnt.build file in verbose mode and received the following errors... D:\nantbin\nantBuildfile: file:///D:/nant/NAnt.build [tstamp] 17 December 2002 08:29:05 build: test: [echo] [echo] ** Running newly built NAnt.exe with tests. [exec] build\NAnt.exe -indent:1 -buildfile:file:///D:/nant/NAnt.build test.nunit Buildfile: file:///D:/nant/NAnt.build [tstamp] 17 December 2002 08:29:07 test.nunit: [nunit] Running SourceForge.NAnt.Tests.AllTests [nunit] -- [nunit] AttribTaskTest.Test_Normal [nunit] AttribTaskTest.Test_Archive [nunit] AttribTaskTest.Test_Hidden [nunit] AttribTaskTest.Test_ReadOnly [nunit] AttribTaskTest.Test_System [nunit] AttribTaskTest.Test_Multiple [nunit] CallTest.Test_Call [nunit] CscTaskTest.Test_DebugBuild [nunit] CscTaskTest.Test_ReleaseBuild [nunit] DeleteTest.Test_Delete [nunit] EchoTest.Test_Echo [nunit] ExecTaskTest.Test_ArgOption [nunit] ExecTaskTest.Test_ReadLargeAmountFromStdout [nunit] FailTest.Test_Fail [nunit] IncludeTaskTest.Test_Simple [nunit] IncludeTaskTest.Test_NestedTask [nunit] IncludeTaskTest.Test_RecursiveInclude [nunit] JscTaskTest.Test_DebugBuild [nunit] JscTaskTest.Test_ReleaseBuild [nunit] MkdirTest.Test_Mkdir [nunit] MoveTest.Test_Move [nunit] NAntTaskTest.Test_Simple [nunit] NAntTaskTest.Test_SingleTarget [nunit] NAntTaskTest.Test_MultipleTargets [nunit] NAntTaskTest.Test_PropertyInherit [nunit] PropertyTest.Test_PropCreate [nunit] PropertyTest.Test_PropReset [nunit] PropertyTest.Test_ROSet [nunit] SysInfoTaskTest.Test_Normal [nunit] SysInfoTaskTest.Test_Verbose [nunit] TouchTaskTest.Test_Foobar [nunit] TouchTaskTest.Test_File_DateTime [nunit] FAILURE: TouchTaskTest.Test_File_DateTime D:\nant\src\NAnt.Tests\Tasks\TouchTaskTest.cs(89): touch file='d:\temp\NAnt.Tests.TouchTest\f at NUnit.Framework.Assertion.Fail(String message) at NUnit.Framework.Assertion.Assert(String message, Boolean condition) at SourceForge.NAnt.Tests.TouchTaskTest.Test_File_DateTime() in D:\nant\src\NAnt.Tests\Tasks\TouchTaskT [nunit] TouchTaskTest.Test_File_Millis [nunit] FAILURE: TouchTaskTest.Test_File_Millis D:\nant\src\NAnt.Tests\Tasks\TouchTaskTest.cs(117): touch file='d:\temp\NAnt.Tests.TouchTest\ at NUnit.Framework.Assertion.Fail(String message) at NUnit.Framework.Assertion.Assert(String message, Boolean condition) at SourceForge.NAnt.Tests.TouchTaskTest.Test_File_Millis() in D:\nant\src\NAnt.Tests\Tasks\TouchTaskTes [nunit] TouchTaskTest.Test_File_Default [nunit] TouchTaskTest.Test_FileSet_DateTime [nunit] FAILURE: TouchTaskTest.Test_FileSet_DateTime D:\nant\src\NAnt.Tests\Tasks\TouchTaskTest.cs(177): Touch: fileset, datetime, d:\temp\NAnt.Tes at NUnit.Framework.Assertion.Fail(String message) at NUnit.Framework.Assertion.Assert(String message, Boolean condition) at SourceForge.NAnt.Tests.TouchTaskTest.Test_FileSet_DateTime() in D:\nant\src\NAnt.Tests\Tasks\TouchTa [nunit] TouchTaskTest.Test_FileSet_Millis [nunit] FAILURE: TouchTaskTest.Test_FileSet_Millis D:\nant\src\NAnt.Tests\Tasks\TouchTaskTest.cs(205): Touch: fileset, millis, d:\temp\NAnt.Tests at NUnit.Framework.Assertion.Fail(String message) at NUnit.Framework.Assertion.Assert(String message, Boolean condition) at SourceForge.NAnt.Tests.TouchTaskTest.Test_FileSet_Millis() in D:\nant\src\NAnt.Tests\Tasks\TouchTask [nunit] TouchTaskTest.Test_FileSet_Default [nunit] TStampTaskTest.Test_Normal [nunit] TStampTaskTest.Test_Custom [nunit] TStampTaskTest.Test_NoVerbose [nunit] TStampTaskTest.Test_Formatter [nunit] VbcTaskTest.Test_DebugBuild [nunit] VbcTaskTest.Test_ReleaseBuild [nunit] TempDirTest.Test_CreateAndDestroy [nunit] TempFileTest.Test_Create [nunit] TempFileTest.Test_Create_NullArgument [nunit] TempFileTest.Test_Create_WithContents [nunit] DirectoryScannerTest.Test_WildcardMatching1 [nunit] DirectoryScannerTest.Test_WildcardMatching2 [nunit] DirectoryScannerTest.Test_RecursiveWildcardMatching1 [nunit] DirectoryScannerTest.Test_RecursiveWildcardMatching2 [nunit] DirectoryScannerTest.Test_RecursiveWildcardMatching3 [nunit] ExceptionTest.Test_AllExceptions [nunit] FileSetTest.Test_AsIs [nunit] FileSetTest.Test_IncludesAndAsIs [nunit] FileSetTest.Test_Includes_All [nunit] FileSetTest.Test_Includes_Wildcards1 [nunit] FileSetTest.Test_Includes_Wildcards2 [nunit] FileSetTest.Test_Includes_Sub1 [nunit] LocationTest.Test_Constructor_FileName [nunit] LocationTest.Test_Constructor_FileNameLineColumn [nunit] LocationTest.Test_Constructor_UriFileName [nunit] LocationTest.Test_ToString [nunit] NAntTest.Test_GetBuildFileName [nunit] NAntTest.Test_FindInParentOption [nunit] NAntTest.Test_ShowHelp [nunit] NAntTest.Test_BadArgument [nunit] NAntTest.Test_DefineProperty [nunit] NAntTest.Test_ShowProjectHelp [nunit]
RE: [nant-dev] Error on relative path in AssemblyKeyFile
Hello, A suggestion: - Modify SLiNgshot to support project files, too. - Improve the SLiNgshot task. This would avoid duplicating the conversion logic in another task. Best regards, Bernard -Original Message- From: Szymon Kobalczyk [mailto:szymon.kobalczyk;pl.apriso.com] Sent: Friday, November 15, 2002 10:22 AM To: '[EMAIL PROTECTED]' Cc: 'Matthew Mastracci' Subject: RE: [nant-dev] Error on relative path in AssemblyKeyFile Hi Matthew, I've already downloaded your task and I admire the great work you did. As you could see from my last postings I have already discovered that SLiNgshot is not the best tool to do the conversion. The most annoying thing is that it compiles all projects into one single folder. I believe that project based builds that closely reflect what VS.NET does are more appropriate. Nevertheless SLiNgshoT still has some nice features. First of all it generates the build instructions for the whole solution so you don't have to manually call builds for each project. This is important for me because most of my solutions have more than 30 projects and I don't want to waste time coding the build instructions by hand. The second thing is that it can be used apart from NAnt because it can also generate NMake files. I'm impressed by the effort you put to create the task that will work directly on .csproj filed, properly handle resource files and other features. In my opinion now we should join efforts to either integrate this routines with existing SLiNgshoT or create new top level task that will generate build files that will automatically call the vsproj task for each project in the solution. In either case I will be happy to help. Szymon Kobalczyk -Original Message- From: Matthew Mastracci [mailto:matt;aclaro.com] Sent: Friday, November 15, 2002 3:13 AM To: Szymon Kobalczyk Cc: '[EMAIL PROTECTED]' Subject: Re: [nant-dev] Error on relative path in AssemblyKeyFile I have a task for NAnt that will compile projects exactly as VS.NET does. Please see my earlier messages for more information, and let me know if you are interested in trying out the custom NAnt task. Szymon Kobalczyk wrote: Ok, here is the last problem I had to face today. Some of our projects are strongly named and signed. All of them use the same key that is located in the top folder of the project tree that is referenced by relative path. So the adequate line of AssemblyInfo.cs file in such projects may look like: [assembly: AssemblyKeyFile(..\\..\\..\\..\\MyProduct.snk)] But for some reasons SLiNgshoT creators have chosen to produce build file that compiles all projects into a single folder and uses fully qualified paths. As a result of this the working folder during compilation is different then it would be when building the same project with VS.NET. Thus the above line will produce a compile error. In my opinion the goal of SLiNgshoT should be to reproduce the compilation procedure that is implemented in VS.NET as closely as possible i.e. to compile each project into its own bin folder. I understand that some of us may dislike the approach chosen by MS but if this stuff is going to be working properly we have to do this their way. Personally I would be very happy to help whoever currently maintains SLiNgshoT to implement all necessary changes. I also encourage others to discuss how to properly handle this conversion. Best Regards, Szymon Kobalczyk. --- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html ___ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers . --- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html ___ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html ___ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Error on relative path in AssemblyKeyFile
The CVS versions of NAnt and the nightly snapshots seem to be out-of-sync, or have some sort of branching happening. I'm not really sure which one I should be using. So far, I'm just working against my local copy of 0.7.9, but I'll need to port it to the latest CVS version whenever possible. I've got a resx and license task ready for inclusion in NAnt once I have a chance. I've compiled it into VSProjTasks.dll and zipped up the source alongside. Note that this is still pretty rough code, but it's working on my testcases so far. Here's some samples for usage: resx input=test.resx output=foo.resources/ license input=test.licx target=foo.exe output=test.licenses/ Note that license needs a licensed component. I'm using a commercial component here, but any one will do. Szymon Kobalczyk wrote: Hi, I can start working on SLingshoT so it will produce the global build file that would call the vcproj task on each of the projects. Matthew please send me the latest version of the vcproj task. Also some sugestions or template for this global project would be handy. Have you been thinking about supporting additional reference paths (see my earlier postings)? Do we drop for now the functionality to produce the NMake makefiles? In any case I would like to keep SLingshoT as a command line util along with a NAnt task. Szymon. -Original Message- From: Matthew Mastracci To: Ian MacLean Cc: Szymon Kobalczyk; '[EMAIL PROTECTED]'; 'Bernard Vander Beken' Sent: 2002-11-15 20:48 Subject: Re: [nant-dev] Error on relative path in AssemblyKeyFile The first thing I'd like to do is add license file generation as a core task to NAnt and set up Slingshot to use the new tasks. I can do this alongside any work to separate the .build files into per-project files. Who would I ask for CVS commit access to the NAnt core? I won't commit anything without posting a patch for review on the list first. Ian MacLean wrote: Szymon, I'm in agreement with your suggestion. Seperate build files per project seems like the right approach to me. So +1 from me. The slingshot code was originally contributed by Jason Diamond who may still be lurking on this list. However that code has been stagnating a bit lately and is need of some work to be consistent with some of the newer nant features. I can look at doing this as you guys add new features to SlingShot. Let me know if you or Mathew require commit access to NAntContrib. Ian I hope you understand that what we are talking about here is to change SLiNgshot the way that instead of generating one huge build file for whole solution (I have one that has over 200 KB) it will create separate build or make files for each project and one top level file that will call all projects in appropriate order. Architecturally that is rather big change and I would like to have it approved by community before starting to code. Thus I encourage others to join this discussion. Szymon Kobalczyk -Original Message- From: Bernard Vander Beken [mailto:Bernard.VanderBeken;tectrade.net] Sent: Friday, November 15, 2002 10:28 AM To: Szymon Kobalczyk; [EMAIL PROTECTED] Cc: Matthew Mastracci Subject: RE: [nant-dev] Error on relative path in AssemblyKeyFile Hello, A suggestion: - Modify SLiNgshot to support project files, too. - Improve the SLiNgshot task. This would avoid duplicating the conversion logic in another task. Best regards, Bernard -Original Message- From: Szymon Kobalczyk [mailto:szymon.kobalczyk;pl.apriso.com] Sent: Friday, November 15, 2002 10:22 AM To: '[EMAIL PROTECTED]' Cc: 'Matthew Mastracci' Subject: RE: [nant-dev] Error on relative path in AssemblyKeyFile Hi Matthew, I've already downloaded your task and I admire the great work you did. As you could see from my last postings I have already discovered that SLiNgshot is not the best tool to do the conversion. The most annoying thing is that it compiles all projects into one single folder. I believe that project based builds that closely reflect what VS.NET does are more appropriate. Nevertheless SLiNgshoT still has some nice features. First of all it generates the build instructions for the whole solution so you don't have to manually call builds for each project. This is important for me because most of my solutions have more than 30 projects and I don't want to waste time coding the build instructions by hand. The second thing is that it can be used apart from NAnt because it can also generate NMake files. I'm impressed by the effort you put to create the task that will work directly on .csproj filed, properly handle resource files and other features. In my opinion now we should join efforts to either integrate this routines with existing SLiNgshoT or create new top level task that will generate build files that will automatically call the vsproj task for each project in the solution. In either case I will be happy
[nant-dev] Error on relative path in AssemblyKeyFile
Ok, here is the last problem I had to face today. Some of our projects are strongly named and signed. All of them use the same key that is located in the top folder of the project tree that is referenced by relative path. So the adequate line of AssemblyInfo.cs file in such projects may look like: [assembly: AssemblyKeyFile(..\\..\\..\\..\\MyProduct.snk)] But for some reasons SLiNgshoT creators have chosen to produce build file that compiles all projects into a single folder and uses fully qualified paths. As a result of this the working folder during compilation is different then it would be when building the same project with VS.NET. Thus the above line will produce a compile error. In my opinion the goal of SLiNgshoT should be to reproduce the compilation procedure that is implemented in VS.NET as closely as possible i.e. to compile each project into its own bin folder. I understand that some of us may dislike the approach chosen by MS but if this stuff is going to be working properly we have to do this their way. Personally I would be very happy to help whoever currently maintains SLiNgshoT to implement all necessary changes. I also encourage others to discuss how to properly handle this conversion. Best Regards, Szymon Kobalczyk. --- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html ___ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Error on relative path in AssemblyKeyFile
I have a task for NAnt that will compile projects exactly as VS.NET does. Please see my earlier messages for more information, and let me know if you are interested in trying out the custom NAnt task. Szymon Kobalczyk wrote: Ok, here is the last problem I had to face today. Some of our projects are strongly named and signed. All of them use the same key that is located in the top folder of the project tree that is referenced by relative path. So the adequate line of AssemblyInfo.cs file in such projects may look like: [assembly: AssemblyKeyFile(..\\..\\..\\..\\MyProduct.snk)] But for some reasons SLiNgshoT creators have chosen to produce build file that compiles all projects into a single folder and uses fully qualified paths. As a result of this the working folder during compilation is different then it would be when building the same project with VS.NET. Thus the above line will produce a compile error. In my opinion the goal of SLiNgshoT should be to reproduce the compilation procedure that is implemented in VS.NET as closely as possible i.e. to compile each project into its own bin folder. I understand that some of us may dislike the approach chosen by MS but if this stuff is going to be working properly we have to do this their way. Personally I would be very happy to help whoever currently maintains SLiNgshoT to implement all necessary changes. I also encourage others to discuss how to properly handle this conversion. Best Regards, Szymon Kobalczyk. --- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html ___ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers . --- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html ___ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers