[nant-dev] [ nant-Bugs-1117094 ] include buildfile not working as indicated
Bugs item #1117094, was opened at 2005-02-06 02:20 Message generated for change (Comment added) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=1117094group_id=31650 Category: Core Group: 0.85 Status: Closed Resolution: Works For Me Priority: 5 Submitted By: Jerry Shea (jerryshea3) Assigned to: Gert Driesen (drieseng) Summary: include buildfile not working as indicated Initial Comment: I have tried following the example given on the wiki and include task documentation for getting properties from an include file but it does not seem to read the properties from the included file correctly. Can anyone confirm if this is a bug? test.build file ?xml version=1.0 ? project xmlns=http://nant.sf.net/schema/nant-84.xsd; name=test include buildfile=test.include / property name=foo value = build/ target name=all echo message=foo=${foo}/ /target /project test.include == project name=common build properties property name=foo value = include/ /project command line and output C:\temp\nantd:\program files\nant-0.85-rc1\bin\nant all NAnt 0.85 (Build 0.85.1793.0; rc1; 28/11/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/temp/nant-bug/test.build Target(s) specified: all all: [echo] foo=build BUILD SUCCEEDED Total time: 0 seconds. -- Comment By: Gert Driesen (drieseng) Date: 2005-02-06 09:07 Message: Logged In: YES user_id=707851 What is wrong with this sample ? You first include the test.include buildfile. At that time foo has the value include. But then you override that value in test.build and set it to build, so its pretty normal that the value of foo in target all is build. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=402868aid=1117094group_id=31650 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
[nant-dev] No way to get NAnt compiled on Linux with Mono
Hi all, I'm trying to recompile NAnt with the latest Mono from SVN... but believe me, no way! First, the build process looks for /usr/lib/mono/2.0, which does not exist... Okay, then after fixing that, the build process stops due the following unhandled exception: log4net:ERROR LogLog: Exception while reading ConfigurationSettings. Check your .config file is well formed XML. Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for NAnt.Console.ConsoleStub --- System.TypeInitializationException: An exception was thrown by the type initializer for log4net.Core.LoggerManager --- System.TypeInitializationException: An exception was thrown by the type initializer for log4net.Util.LogLog --- System.Configuration.ConfigurationException: Cannot get Type for System.Diagnostics.DiagnosticsConfigurationHandler, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 () in 0x0008e System.Configuration.ConfigurationData:CreateNewHandler (string,System.Configuration.SectionData) in 0x001cf System.Configuration.ConfigurationData:GetHandler (string) in 0x0005a System.Configuration.ConfigurationData:GetHandler (string) in 0x0002a System.Configuration.ConfigurationData:GetConfigInternal (string) in 0x0009d System.Configuration.ConfigurationData:GetConfig (string) in 0x0001f System.Configuration.DefaultConfig:GetConfig (string) in 0x00069 System.Configuration.ConfigurationSettings:GetConfig (string) in 0x0001c System.Diagnostics.DiagnosticsConfiguration:get_Settings () in 0x0003c System.Diagnostics.TraceImpl:InitOnce () in 0x7 System.Diagnostics.TraceImpl:get_Listeners () in 0x00037 System.Diagnostics.TraceImpl:WriteLine (string) in 0xa System.Diagnostics.Trace:WriteLine (string) in 0x00027 log4net.Util.LogLog:EmitErrorLine (string) in 0x00030 log4net.Util.LogLog:Error (string,System.Exception) in 0x000a8 log4net.Util.LogLog:.cctor () --- End of inner exception stack trace --- in (unmanaged) 0x808e825 in 0x0003d log4net.Core.LoggerManager:.cctor () --- End of inner exception stack trace --- in (unmanaged) 0x808e825 in 0x00012 log4net.LogManager:GetLogger (System.Reflection.Assembly,string) in 0x00029 log4net.LogManager:GetLogger (System.Type) in 0x0001b NAnt.Console.ConsoleStub:.cctor () --- End of inner exception stack trace --- make: *** [build-nant] Error 1 Any idea? j3d. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)79 602 99 27 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] Build Failed - Internal Error
Margaret, I'd advise you to upgrade to NAnt 0.85 RC1 or a recent nightly build (http://nant.sourceforge.net/nightly/latest), and use the webmap child element of the solution task to map URL to local paths. See the task docs of the solution task for an example of this: http://nant.sourceforge.net/nightly/latest/help/tasks/solution.html Hope this helps, Gert From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Margaret HorganSent: donderdag 3 februari 2005 18:00To: nant-developers@lists.sourceforge.netSubject: [nant-dev] Build Failed - Internal Error Hi! I got the error below while trying to build a C# solution which comprises of multiple class libraries and web projects, I was just wondering if you have any ideas why this is happening? Any advice would be appreciated as I have been unable to find any resolutions to the error on the internet however I have noticed that other people have seen a similar error. Thanks! Margaret BUILD FAILED INTERNAL ERROR System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.CheckFinalStatus() at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.HttpWebRequest.GetResponse() at NAnt.VSNet.WebDavClient.UploadFile(String localFileName, String remoteFile Name) 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] Total time: 15.8 seconds. Margaret Horgandunnhumby Aurora House71-75 Uxbridge RoadLondon W5 5SL UK T: +44 (0)20 8832 9222F: +44 (0)20 8832 9333www.dunnhumby.com The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error you should delete it from your system immediately and advise the sender. dunnhumby may monitor and record all emails. The views expressed in this email are those of the sender and not dunnhumby.
[nant-dev] Nant exception
Thanks for all your efforts with NANT. The following exception explains itself and I will attempt to work around it, however reporting the failing path would be an improvement. I have attached the offending nant script. cheers joe C:\Documents and Settings\joseph\My Documents\BackupBardonnant NAnt 0.85 (Build 0.85.1793.0; rc1; 28/11/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/Documents and Settings/joseph/My Documents/BackupBardon/build.build Target(s) specified: build build: BUILD FAILED INTERNAL ERROR System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. at System.IO.Path.NormalizePath(String path, Boolean fullCheck) 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] Total time: 19.5 seconds. C:\Documents and Settings\joseph\My Documents\BackupBardon ?xml version=1.0? project name=Backup Bardon C drive to eta family share default=build basedir=c:\ descriptionBackup Bardon C drive./description target name=clean description=Remove all files in eta copy todir= verbose=true / /target target name=build description=Copy files to eta copy todir=\\eta\family\cdrive verbose=true fileset basedir=c:\ include name=affluxdata\** / include name=Downloads\** / include name=etax2004\** / include name=NVIDIA\** / include name=Palm\** / include name=SystemSoftware\** / include name=Documents and Settings\anna\** / include name=Documents and Settings\julian\** / include name=Documents and Settings\sandra\** / include name=Documents and Settings\sam\** / include name=Documents and Settings\joseph\** / exclude name=NTUSER.dat* / /fileset /copy /target /project
RE: [nant-dev] No way to get NAnt compiled on Linux with Mono
Giuseppe, You're actually running into two separate Mono bugs (for which I've filed bug reports quite a long time ago): 1. http://bugzilla.ximian.com/show_bug.cgi?id=66237: Mono does not remap references to system assemblies from a previous version of .NET to corresponding assemblies in the current runtime version. This is what causes the TypeInitializationException. 2. http://bugzilla.ximian.com/show_bug.cgi?id=62913: Mono does not fall back to 1.0 profile (1.1 runtime) when the 2.0 profile is not available. A fix for the first bug was posted to the list a few days ago, but it has not yet been committed to cvs. A workaround for both issues is to remove the following entry from the startup node of the NAnt configuration file (src/NAnt.Console/App.config if you're building from source): supportedRuntime version=v2.0.40607 / For now, there really isn't much we (the NAnt team) can do, but wait until these issues are fixed :( Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giuseppe Greco Sent: zondag 6 februari 2005 10:35 To: NAnt Developers Subject: [nant-dev] No way to get NAnt compiled on Linux with Mono Hi all, I'm trying to recompile NAnt with the latest Mono from SVN... but believe me, no way! First, the build process looks for /usr/lib/mono/2.0, which does not exist... Okay, then after fixing that, the build process stops due the following unhandled exception: log4net:ERROR LogLog: Exception while reading ConfigurationSettings. Check your .config file is well formed XML. Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for NAnt.Console.ConsoleStub --- System.TypeInitializationException: An exception was thrown by the type initializer for log4net.Core.LoggerManager --- System.TypeInitializationException: An exception was thrown by the type initializer for log4net.Util.LogLog --- System.Configuration.ConfigurationException: Cannot get Type for System.Diagnostics.DiagnosticsConfigurationHandler, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 () in 0x0008e System.Configuration.ConfigurationData:CreateNewHandler (string,System.Configuration.SectionData) in 0x001cf System.Configuration.ConfigurationData:GetHandler (string) in 0x0005a System.Configuration.ConfigurationData:GetHandler (string) in 0x0002a System.Configuration.ConfigurationData:GetConfigInternal (string) in 0x0009d System.Configuration.ConfigurationData:GetConfig (string) in 0x0001f System.Configuration.DefaultConfig:GetConfig (string) in 0x00069 System.Configuration.ConfigurationSettings:GetConfig (string) in 0x0001c System.Diagnostics.DiagnosticsConfiguration:get_Settings () in 0x0003c System.Diagnostics.TraceImpl:InitOnce () in 0x7 System.Diagnostics.TraceImpl:get_Listeners () in 0x00037 System.Diagnostics.TraceImpl:WriteLine (string) in 0xa System.Diagnostics.Trace:WriteLine (string) in 0x00027 log4net.Util.LogLog:EmitErrorLine (string) in 0x00030 log4net.Util.LogLog:Error (string,System.Exception) in 0x000a8 log4net.Util.LogLog:.cctor () --- End of inner exception stack trace --- in (unmanaged) 0x808e825 in 0x0003d log4net.Core.LoggerManager:.cctor () --- End of inner exception stack trace --- in (unmanaged) 0x808e825 in 0x00012 log4net.LogManager:GetLogger (System.Reflection.Assembly,string) in 0x00029 log4net.LogManager:GetLogger (System.Type) in 0x0001b NAnt.Console.ConsoleStub:.cctor () --- End of inner exception stack trace --- make: *** [build-nant] Error 1 Any idea? j3d. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)79 602 99 27 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: What version of SharpCvsLib does Nant use. RE: [nant-dev] cvs-pass exception when user name contains full stop
Title: Message Hi Chris, sorry it took a couple of days to get back, thanks for your patience on this. To answer your version question, NAnt is using the cvs version of sharpcvslib. When we go to release I will tag the repository and branch if need be to make patches. I think you test case got clobbered by a friendly mail server along the way. I checked ina fix to the cvsroot regex that will allow a '.' in the username portion of the cvsroot. I am not sure if the regex below solves this or not, I was not able to get it to pick up a correct cvsroot. Let me know if that fixes you issue, if not could you please file a bug and include a small test case there. Cheers, Clayton -Original Message-From: Chris Fewtrell [mailto:[EMAIL PROTECTED] Sent: February 4, 2005 4:16 AMTo: nant-developers@lists.sourceforge.netCc: John WadlowSubject: What version of SharpCvsLib does Nant use. RE: [nant-dev] cvs-pass exception when user name contains full stop Hello I think there is a problem in the SharpCvsLib's way of parsing cvs roots. I have sent an emailto the sharpcvslib dev mail list detailing the problem (reproduced at bottom of this email). I wanted to use a fixed version of SharpCvsLib with NAnt so I downloaded the latest source I could find for SharpCvsLib (0.36-dev), recompiled it and replaced the dlls in the NAnt lib folder with the new dlls. The build of NAnt failed however. The version of the SharpCvsLib code I downloaded has the exception ICSharpCode.SharpCvsLib.FileSystem.CvsFileNotFoundException whereas the code in NAnt expects the class to be in a different namespace (ICSharpCode.SharpCvsLib.Exceptions.CvsFileNotFoundException). I was wondering which version of the SharpCvsLib you are using (since it is obviously different to the one I have downloaded) - please send us a link if possible. Many thanks Chris description of problem sent to '[EMAIL PROTECTED]' There is problem with the cvs-pass task. It fails when the cvs rootcontains a user name that has a full stop ('.') in it. The problem is in ICSharpCode.SharpCvsLib.Misc.CvsRoot The regex used to validate the cvs root ispublic const string CVSROOT_REGEX = @":(ext|pserver|ssh|local|sspi) :((?:[\w]*@)?[\w]+(?:\.[\w|-]+)*) :?((?:[\d]*)?) :((?:(?:[A-Za-z]:/)|/).[^\s]*)"; I think the line marked with the should be replaced with :((?:[\\w\\.]*@)?[\\w]+(?:\\.[\\w|-]+)*) (Note the extra \\. to allow full stops in the user name). From: John Wadlow [mailto:[EMAIL PROTECTED] Sent: 04 February 2005 00:29To: Chris FewtrellSubject: [nant-dev] cvs-pass exception when user name contains full stop Did anyone answer your question about this? Im running into the same problem. Unfortunately, Im not sure what you mean by full stop. When I look at your message I see this target name="CvsLogin" description="Logs into cvs" cvs-pass cvsroot=":pserver:[EMAIL PROTECTED]:/cvsrepo" passfile="C:\.cvspass" password="M3hPassword" failonerror="true" verbose="true" / /target The abovefailswhereas this works fine... target name="CvsLogin" description="Logs into cvs" cvs-pass cvsroot=":pserver:[EMAIL PROTECTED]:/cvsrepo" passfile="C:\.cvspass" password="M3hPassword" failonerror="true" verbose="true" / /target Thanks John Wadlow__This email has been scanned by the MessageLabs Email Security System - for inbound mail to Granta Design Ltd.This email has been scanned by the MessageLabs Email Security System- after being sent from Granta Design Ltd __
[nant-dev] Still problems with the al task
Hi all, I've still problems with the al task... Just try the following task on Linux with Mono (1.1.4): al target=lib output=${build.dir}/lib/${culture}/${assembly}.resources.dll culture=${culture} sources basedir=${build.dir}/lib/${culture} include name=*.resources / /sources /al ... and you'll get the following error message: build: [echo] Build Directory is ../../build/gekkota-0.4-debug [al] Compiling 1 files to '/home/genius/projects/gekkota/build/gekkota-0.4-debug/lib/ de-DE/Gekkota.resources.dll'. [al] ALINK: error A1012: 'lib' is not a valid setting for option 'target' BUILD FAILED Any idea? Furthermore, I would suggest to replace lib with library, just to be consistent with the csc task. Thanks, j3d. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)79 602 99 27 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] Still problems with the al task
Hi Giuseppe, I don't have time to look into this right now, but can you send me a verbose log (NAnt.exe -verbose ...) ? BTW: you should be able to use either lib or library on MS.NET, not sure about Mono though. Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giuseppe Greco Sent: zondag 6 februari 2005 20:13 To: NAnt Developers Subject: [nant-dev] Still problems with the al task Hi all, I've still problems with the al task... Just try the following task on Linux with Mono (1.1.4): al target=lib output=${build.dir}/lib/${culture}/${assembly}.resources.dll culture=${culture} sources basedir=${build.dir}/lib/${culture} include name=*.resources / /sources /al ... and you'll get the following error message: build: [echo] Build Directory is ../../build/gekkota-0.4-debug [al] Compiling 1 files to '/home/genius/projects/gekkota/build/gekkota-0.4-debug/lib/ de-DE/Gekkota.resources.dll'. [al] ALINK: error A1012: 'lib' is not a valid setting for option 'target' BUILD FAILED Any idea? Furthermore, I would suggest to replace lib with library, just to be consistent with the csc task. Thanks, j3d. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)79 602 99 27 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] Still problems with the al task
Hi Gert, here below is the verbose log: build-resources: build: [echo] Build Directory is ../../build/gekkota-0.4-debug [al] Output file '/home/genius/projects/gekkota/build/gekkota-0.4-debug/lib/de- DE/Gekkota.resources.dll' does not exist, recompiling. [al] Compiling 1 files to '/home/genius/projects/gekkota/build/gekkota-0.4-debug/lib/de- DE/Gekkota.resources.dll'. [al] Contents of /tmp/tmp3eb7ae42. [al] /target:library [al] /out:/home/genius/projects/gekkota/build/gekkota-0.4- debug/lib/de-DE/Gekkota.resources.dll [al] /culture:de-DE [al] /nologo [al] /embed:/home/genius/projects/gekkota/build/gekkota-0.4- debug/lib/de-DE/Gekkota.de-DE.resources [al] [al] Starting '/usr/local/bin/mono (/usr/local/lib/mono/1.0/al.exe @/tmp/tmp3eb7ae42)' in '/home/genius/projects/gekkota/src/Gekkota' [al] ALINK: error A1012: 'library' is not a valid setting for option 'target' BUILD FAILED /home/genius/projects/gekkota/src/Gekkota/Gekkota.build(110,8): External Program Failed: /usr/local/lib/mono/1.0/al.exe (return code was 1): NAnt.Core.BuildException: /home/genius/projects/gekkota/src/Gekkota/Gekkota.build(110,8): External Program Failed: /usr/local/lib/mono/1.0/al.exe (return code was 1) in 0x003ab NAnt.Core.Tasks.ExternalProgramBase:ExecuteTask () I hope that helps... Ciao, j3d. On Sun, 2005-02-06 at 22:20 +0100, Gert Driesen wrote: Hi Giuseppe, I don't have time to look into this right now, but can you send me a verbose log (NAnt.exe -verbose ...) ? BTW: you should be able to use either lib or library on MS.NET, not sure about Mono though. Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giuseppe Greco Sent: zondag 6 februari 2005 20:13 To: NAnt Developers Subject: [nant-dev] Still problems with the al task Hi all, I've still problems with the al task... Just try the following task on Linux with Mono (1.1.4): al target=lib output=${build.dir}/lib/${culture}/${assembly}.resources.dll culture=${culture} sources basedir=${build.dir}/lib/${culture} include name=*.resources / /sources /al ... and you'll get the following error message: build: [echo] Build Directory is ../../build/gekkota-0.4-debug [al] Compiling 1 files to '/home/genius/projects/gekkota/build/gekkota-0.4-debug/lib/ de-DE/Gekkota.resources.dll'. [al] ALINK: error A1012: 'lib' is not a valid setting for option 'target' BUILD FAILED Any idea? Furthermore, I would suggest to replace lib with library, just to be consistent with the csc task. Thanks, j3d. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)79 602 99 27 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)79 602 99 27 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers
RE: [nant-dev] Still problems with the al task
Giuseppe, Apparently Mono's al does not support quoted arguments in the response file. I'd advise you to reopen the Mono response file bug report, and perhaps attach an example of a response file to it (eg. the one I attached to this email). Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giuseppe Greco Sent: zondag 6 februari 2005 23:00 To: Gert Driesen Cc: NAnt Developers Subject: RE: [nant-dev] Still problems with the al task Hi Gert, here below is the verbose log: build-resources: build: [echo] Build Directory is ../../build/gekkota-0.4-debug [al] Output file '/home/genius/projects/gekkota/build/gekkota-0.4-debug/lib/de- DE/Gekkota.resources.dll' does not exist, recompiling. [al] Compiling 1 files to '/home/genius/projects/gekkota/build/gekkota-0.4-debug/lib/de- DE/Gekkota.resources.dll'. [al] Contents of /tmp/tmp3eb7ae42. [al] /target:library [al] /out:/home/genius/projects/gekkota/build/gekkota-0.4- debug/lib/de-DE/Gekkota.resources.dll [al] /culture:de-DE [al] /nologo [al] /embed:/home/genius/projects/gekkota/build/gekkota-0.4- debug/lib/de-DE/Gekkota.de-DE.resources [al] [al] Starting '/usr/local/bin/mono (/usr/local/lib/mono/1.0/al.exe @/tmp/tmp3eb7ae42)' in '/home/genius/projects/gekkota/src/Gekkota' [al] ALINK: error A1012: 'library' is not a valid setting for option 'target' BUILD FAILED /home/genius/projects/gekkota/src/Gekkota/Gekkota.build(110,8): External Program Failed: /usr/local/lib/mono/1.0/al.exe (return code was 1): NAnt.Core.BuildException: /home/genius/projects/gekkota/src/Gekkota/Gekkota.build(110,8): External Program Failed: /usr/local/lib/mono/1.0/al.exe (return code was 1) in 0x003ab NAnt.Core.Tasks.ExternalProgramBase:ExecuteTask () I hope that helps... Ciao, j3d. On Sun, 2005-02-06 at 22:20 +0100, Gert Driesen wrote: Hi Giuseppe, I don't have time to look into this right now, but can you send me a verbose log (NAnt.exe -verbose ...) ? BTW: you should be able to use either lib or library on MS.NET, not sure about Mono though. Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giuseppe Greco Sent: zondag 6 februari 2005 20:13 To: NAnt Developers Subject: [nant-dev] Still problems with the al task Hi all, I've still problems with the al task... Just try the following task on Linux with Mono (1.1.4): al target=lib output=${build.dir}/lib/${culture}/${assembly}.resources.dll culture=${culture} sources basedir=${build.dir}/lib/${culture} include name=*.resources / /sources /al ... and you'll get the following error message: build: [echo] Build Directory is ../../build/gekkota-0.4-debug [al] Compiling 1 files to '/home/genius/projects/gekkota/build/gekkota-0.4-debug/lib/ de-DE/Gekkota.resources.dll'. [al] ALINK: error A1012: 'lib' is not a valid setting for option 'target' BUILD FAILED Any idea? Furthermore, I would suggest to replace lib with library, just to be consistent with the csc task. Thanks, j3d. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)79 602 99 27 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)79 602 99 27 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email is