[nant-dev] possible bug with multiple script segments?
Here's an interesting one. I have attached 3 files, default.build, default.1s.build, and default.2s.build. Default.build is a small NAnt project file containing 2 script segments with VB functions. Default.1s.build is the same file, but with one of the script segments removed. Default.2s.build is the same file, but with the other segment removed instead. When I attempt to use default.build, I receive a non-fatal, internal error as follows: C:\wc_buildnant -buildfile:default.build foobleh NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/wc_build/default.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: foobleh [script] Scanning assembly e_0f3wc7 for extensions. [script] Scanning assembly lywj0gwb for extensions. [script] Failure scanning nant46a205bf050d4330885efdc9c8d50bd9+foo4_c, lywj0gwb, Version=0.0.0.0, Culture=neutral, PublicKeyTo ken=null for tasks. BUILD FAILED - 1 non-fatal error(s), 0 warning(s) INTERNAL ERROR System.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 [EMAIL PROTECTED] Total time: 0.8 seconds. On the other hand, using default.1s.build or default.2s.build, everything works as I would expect: C:\wc_buildnant -buildfile:default.1s.build foobleh NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/wc_build/default.1s.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: foobleh [script] Scanning assembly hlbeavjq for extensions. foobleh: [echo] 54321 BUILD SUCCEEDED Total time: 0.4 seconds. C:\wc_buildnant -buildfile:default.2s.build foobleh NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/wc_build/default.2s.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: foobleh [script] Scanning assembly bnllose5 for extensions. foobleh: [echo] 12345 BUILD SUCCEEDED Total time: 0.4 seconds. Does anyone have any ideas what might be wrong with default.build or with NAnt? Please note that I am not a member of this mailing list. Thank you, Aaron Neerenberg Cascade Microtech default.build Description: default.build default.1s.build Description: default.1s.build default.2s.build Description: default.2s.build
[nant-dev] bugreport
Title: bugreport Hi, I tried to execute a copytask which worked until yesterday. I've got no idea why it stopt working on me. The message: System.ArgumentException: Invalid File or Directory attributes value. at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) 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() Grtz, Thailo De informatie in dit bericht is vertrouwelijk. Het is daarom niet toegestaan dat u deze informatie openbaar maakt, vermenigvuldigt of verspreidt, tenzij de verzender aangeeft dat dit wel is toegestaan. Als dit e-mailbericht niet voor u bestemd is, vragen wij u vriendelijk maar dringend om het bericht en kopieen daarvan te vernietigen. Dit bericht is gecontroleerd op bekende virussen. Helaas kunnen wij niet garanderen dat het bericht dat u ontvangt volledig en tijdig verzonden is, of tijdig ontvangen wordt en vrij is van virussen of aantasting door derden. The information contained in this e-mail message is confidential and is intended solely for the use of the individual or entity to whom it is addressed. You should not copy, disclose or distribute this message without the consent of the sender. If you are not the intended recipient of this message please delete this message and destroy all copies. We have checked this message for the presence of known viruses. We can not guarantee the proper and complete transmission of the information contained in this message, nor its timely receipt. We can not guarantee the integrity of this message nor that this message is free of viruses, interceptions or interference.
[nant-dev] need VS 2005 solution task support
We could really use a VS 2005 sln support, is this beeing planned, how hard would it be for me to try and do a XSLT (I think that's how you do the 2003?). I can try to create one if you guys reckon it's not a huge task. Thanks. Gean _ Have a video conversation in real time - Get MSN Messenger - FREE download. http://messenger.msn.co.za?DI=1054XAPID=2532 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] IndexOutOfRange Exception
The error follows. My config: target name=get verbose=true loadtasks assembly=c:/tools/nantcontrib/bin/NAnt.Contrib.Tasks.dll / tstamp pattern=-MM-dd HH:mm verbose=true / echo message=pulling files from version control (MKS)... / mksget username=build password=nopassword host=devmks port=80 localpath=${build.dir}/src project=e:/MKS/eSolutions/someproject/project.pj verbose=true / /target Jeff C:\development\sandbox\build_tests\HUD Carec:\tools\nant\bin\nant NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/development/sandbox/build_tests/HUD Care/default.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: full-build clean: [tstamp] Wednesday, November 23, 2005 1:02:38 PM. [echo] Cleaning directories ... [delete] Deleting directory 'C:\development\sandbox\build_tests\HUD Care\src' . [mkdir] Creating directory 'C:\development\sandbox\build_tests\HUD Care\src' . [tstamp] Wednesday, November 23, 2005 1:02:38 PM. get: [loadtasks] Scanning assembly NAnt.Contrib.Tasks for extensions. [tstamp] Wednesday, November 23, 2005 1:02:39 PM. [echo] pulling files from version control (MKS)... BUILD FAILED INTERNAL ERROR System.IndexOutOfRangeException: Index was outside the bounds of the array. at NAnt.Contrib.Tasks.Mks.GetTask.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() -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.5/178 - Release Date: 11/22/2005
Re: [nant-dev] possible bug with multiple script segments?
Aaron, Can you try using a recent nightly build ? I think we fixed this issue a while ago. Gert - Original Message - From: Aaron Neerenberg [EMAIL PROTECTED] To: nant-developers@lists.sourceforge.net Cc: [EMAIL PROTECTED]; Aaron Neerenberg [EMAIL PROTECTED] Sent: Thursday, November 17, 2005 7:08 PM Subject: [nant-dev] possible bug with multiple script segments? Here's an interesting one. I have attached 3 files, default.build, default.1s.build, and default.2s.build. Default.build is a small NAnt project file containing 2 script segments with VB functions. Default.1s.build is the same file, but with one of the script segments removed. Default.2s.build is the same file, but with the other segment removed instead. When I attempt to use default.build, I receive a non-fatal, internal error as follows: C:\wc_buildnant -buildfile:default.build foobleh NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/wc_build/default.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: foobleh [script] Scanning assembly e_0f3wc7 for extensions. [script] Scanning assembly lywj0gwb for extensions. [script] Failure scanning nant46a205bf050d4330885efdc9c8d50bd9+foo4_c, lywj0gwb, Version=0.0.0.0, Culture=neutral, PublicKeyTo ken=null for tasks. BUILD FAILED - 1 non-fatal error(s), 0 warning(s) INTERNAL ERROR System.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 [EMAIL PROTECTED] Total time: 0.8 seconds. On the other hand, using default.1s.build or default.2s.build, everything works as I would expect: C:\wc_buildnant -buildfile:default.1s.build foobleh NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/wc_build/default.1s.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: foobleh [script] Scanning assembly hlbeavjq for extensions. foobleh: [echo] 54321 BUILD SUCCEEDED Total time: 0.4 seconds. C:\wc_buildnant -buildfile:default.2s.build foobleh NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/wc_build/default.2s.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: foobleh [script] Scanning assembly bnllose5 for extensions. foobleh: [echo] 12345 BUILD SUCCEEDED Total time: 0.4 seconds. Does anyone have any ideas what might be wrong with default.build or with NAnt? Please note that I am not a member of this mailing list. Thank you, Aaron Neerenberg Cascade Microtech --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] [ nant-Bugs-1366110 ] ndoc schema not complete
Bugs item #1366110, was opened at 2005-11-25 09:20 Message generated for change (Settings changed) made by softwarekoch You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=1366110group_id=31650 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: 0.85 Status: Open Resolution: None Priority: 4 Submitted By: :o) (softwarekoch) Assigned to: Nobody/Anonymous (nobody) Summary: ndoc schema not complete Initial Comment: VS2005 shows warnings when I use ndoc *snip* documenters documenter name=MSDN - here! I copied the script from http://nant.sourceforge.net/nightly/latest/help/tasks/ndoc.html -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=1366110group_id=31650 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] [ nant-Bugs-1365721 ] solution task / resource generation / non-ASCII problems
Bugs item #1365721, was opened at 2005-11-24 19:34 Message generated for change (Comment added) made by kaimars You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=1365721group_id=31650 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Kaimar (kaimars) Assigned to: Nobody/Anonymous (nobody) Summary: solution task / resource generation / non-ASCII problems Initial Comment: Solution contains Forms which names (also file names) contain national characters such as ä,ö,ü etc. Everything compiles without errors but runtime error appears (see below). There are no problems with forms containing only english characters. All forms which contain national characters produce similar error. Using Visual Studio compiler (2003) everything works fine. ERROR: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure PõhjadeHaldurForm.resources was correctly embedded or linked into assembly MyProject.UI. baseName: PõhjadeHaldurForm locationInfo: MyProject.PõhjadeHaldurForm resource file name: PõhjadeHaldurForm.resources assembly: MyProject.UI, Version=0.2.699.0, Culture=neutral, PublicKeyToken=null Stack Trace: 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.GetObject(String name, CultureInfo culture) at System.Resources.ResourceManager.GetObject(String name) at MyProject.PõhjadeHaldurForm.InitializeComponent() at MyProject.PõhjadeHaldurForm..ctor() etc etc... -- Comment By: Kaimar (kaimars) Date: 2005-11-25 11:05 Message: Logged In: YES user_id=1388034 I created a small test project to repeat the bug. Seems that the problem is not so simple. * The error does not appear if the form with national characters in its name does not contain other controls. * The error does not appear if the form contains simple controls such as label, textbox etc. * The error does not appear if the form contains EMPTY imagelist. * The error DOES appear if the form contains NON-EMPTY imagelist. Attached test project includes: * a mainform * a form without national characters and with filled imagelist * a form with national characters (no imagelist) * a form with national characters and with filled imagelist * nant buildfile * binary result from both Visual Studio IDE compiler and NAnt Solution compiler (in folder Nantoutput) To see the error: run Nantoutput\TestApp.exe, click to the 3. button. To see it working: run TestApp\bin\Debug\TestApp.exe, click to the 3. button. To see the difference: just remove imagelist from FormNonAscii_ö_WithImageList, compile (using nant), run, click the 3. button. I use VS 2003 and NAnt 0.85 RC3 (tried also nightly build 24 November). -- Comment By: Gert Driesen (drieseng) Date: 2005-11-24 21:48 Message: Logged In: YES user_id=707851 Can you please attach a small repro to this bug report (or send it to [EMAIL PROTECTED] by email) ? Thanks ! -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=1365721group_id=31650 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] need VS 2005 solution task support
Gean, I fear it is HUGE task. VS2005 solutions are msbuild files. msbuild is competetive product to NAnt, so its something like NAnt's .build file. Even that msbuild and nant have alot common there are also big differences. I fear there is not such simple conversion as xslt template between msbuild and nant files. To be a little more possitive, vs2005 solutions (if you dont hand-tune them) are all pretty same, so maybe some conversion for this special case could be done. And this special case could serve 99% of cases. But its all about how whole nant project would or would not cooperate with msbuild. For now, we have 2 incompatible build systems (I'm sorry I ignore others...) btw: vs2003 sln support is not simple xslt either. Its more than 5000 c# line codes. Regards, Martin Aliger -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gean Boegman Sent: Thursday, November 24, 2005 7:01 AM To: nant-developers@lists.sourceforge.net Subject: [nant-dev] need VS 2005 solution task support We could really use a VS 2005 sln support, is this beeing planned, how hard would it be for me to try and do a XSLT (I think that's how you do the 2003?). I can try to create one if you guys reckon it's not a huge task. Thanks. Gean _ Have a video conversation in real time - Get MSN Messenger - FREE download. http://messenger.msn.co.za?DI=1054XAPID=2532 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers