[nant-dev] Problem with the resgen task
Hi all, I've checked out the latest version of NAnt from CVS right now... and the resgen task doesn't function correctly anymore. This is my resgen task: resgen input=${module}.resx output=${module}.${culture}.resources todir=${build.dir}/${package.name}/bin/${culture}/ The resulting .resource file is not placed in the directory specified in the todir property. Instead, the generated file is just saved into the current directory. Before the update of today, the resgen task was running correctly. Gius_. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Problem with the resgen task
On Thu, 2003-07-10 at 22:33, Giuseppe Greco wrote: Hi all, Ah, I've also checked out the latest version of Mono from CVS... Gius_. I've checked out the latest version of NAnt from CVS right now... and the resgen task doesn't function correctly anymore. This is my resgen task: resgen input=${module}.resx output=${module}.${culture}.resources todir=${build.dir}/${package.name}/bin/${culture}/ The resulting .resource file is not placed in the directory specified in the todir property. Instead, the generated file is just saved into the current directory. Before the update of today, the resgen task was running correctly. Gius_. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Problem with the resgen task on Linux
Hi Giuseppe, I looked at the code of the resgen task, and apparently it's not being executed on the mono runtime right now. The following comment is in the UsesRuntimeEngine property : // TO-DO : uncomment this when monoresgen no longer crashes when run with the mono runtime. I think that comment was put there by Ian, but I haven't checked this. Can you uncomment the code in in Resgen.UsesRuntimeEngine and try again ? Gert - Original Message - From: Giuseppe Greco [EMAIL PROTECTED] To: NAnt Developers [EMAIL PROTECTED] Sent: Saturday, June 28, 2003 11:44 AM Subject: [nant-dev] Problem with the resgen task on Linux Hi all, I've target like this: target name=build description=Builds resource binaries for de-DE culture mkdir dir=${build.dir}/bin/${culture} failonerror=false/ resgen input=${assembly}.resx output=${assembly}.${culture}.resources todir=${build.dir}/bin/${culture}/ al target=lib culture=${culture} output=${build.dir}/bin/${culture}/${assembly}.resources.dll sources basedir=${build.dir}/bin/${culture} includes name=*.resources/ /sources /al /target The target above just generates a .resources file and the related satellite resource assembly DLL. It works on Windows, but it doesn't on Linux! monoresgen complies like this: /home/genius/projects/gekkota/src/Gekkota.Core/de-DE/default.build(44,60): resgen task/usr/local/bin/monoresgen.exe failed to start. Cannot find the specified file The *.resx file to compile is there and error free (otherwise it wouldn't have compiled on Windows)... Does anybody know more on this? Gius_. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Problem with the resgen task on Linux
Hi Gert, On Sat, 2003-06-28 at 13:48, Gert Driesen wrote: Hi Giuseppe, I looked at the code of the resgen task, and apparently it's not being executed on the mono runtime right now. The following comment is in the UsesRuntimeEngine property : // TO-DO : uncomment this when monoresgen no longer crashes when run with the mono runtime. I think that comment was put there by Ian, but I haven't checked this. Can you uncomment the code in in Resgen.UsesRuntimeEngine and try again ? I've tried it, but it doesn't work at all. This is the error message: Error: Exception has been thrown by the target of an invocation. Total time: 0 seconds. May be that's why Ian commented out lines from 130 to 135 in ResGenTask.cs ... Gius_. Gert - Original Message - From: Giuseppe Greco [EMAIL PROTECTED] To: NAnt Developers [EMAIL PROTECTED] Sent: Saturday, June 28, 2003 11:44 AM Subject: [nant-dev] Problem with the resgen task on Linux Hi all, I've target like this: target name=build description=Builds resource binaries for de-DE culture mkdir dir=${build.dir}/bin/${culture} failonerror=false/ resgen input=${assembly}.resx output=${assembly}.${culture}.resources todir=${build.dir}/bin/${culture}/ al target=lib culture=${culture} output=${build.dir}/bin/${culture}/${assembly}.resources.dll sources basedir=${build.dir}/bin/${culture} includes name=*.resources/ /sources /al /target The target above just generates a .resources file and the related satellite resource assembly DLL. It works on Windows, but it doesn't on Linux! monoresgen complies like this: /home/genius/projects/gekkota/src/Gekkota.Core/de-DE/default.build(44,60): resgen task/usr/local/bin/monoresgen.exe failed to start. Cannot find the specified file The *.resx file to compile is there and error free (otherwise it wouldn't have compiled on Windows)... Does anybody know more on this? Gius_. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Problem with the resgen task on Linux
Guis, can you run with -verbose. Grab the commandline thats generated and try it in a shell window. ie see if the same failure occurs when running monoresgen by itself. If not can you post the full output generated by nant - including stack trace. Ian Hi Gert, On Sat, 2003-06-28 at 13:48, Gert Driesen wrote: Hi Giuseppe, I looked at the code of the resgen task, and apparently it's not being executed on the mono runtime right now. The following comment is in the UsesRuntimeEngine property : // TO-DO : uncomment this when monoresgen no longer crashes when run with the mono runtime. I think that comment was put there by Ian, but I haven't checked this. Can you uncomment the code in in Resgen.UsesRuntimeEngine and try again ? I've tried it, but it doesn't work at all. This is the error message: Error: Exception has been thrown by the target of an invocation. Total time: 0 seconds. May be that's why Ian commented out lines from 130 to 135 in ResGenTask.cs ... Gius_. Gert - Original Message - From: Giuseppe Greco [EMAIL PROTECTED] To: NAnt Developers [EMAIL PROTECTED] Sent: Saturday, June 28, 2003 11:44 AM Subject: [nant-dev] Problem with the resgen task on Linux Hi all, I've target like this: target name=build description=Builds resource binaries for de-DE culture mkdir dir=${build.dir}/bin/${culture} failonerror=false/ resgen input=${assembly}.resx output=${assembly}.${culture}.resources todir=${build.dir}/bin/${culture}/ al target=lib culture=${culture} output=${build.dir}/bin/${culture}/${assembly}.resources.dll sources basedir=${build.dir}/bin/${culture} includes name=*.resources/ /sources /al /target The target above just generates a .resources file and the related satellite resource assembly DLL. It works on Windows, but it doesn't on Linux! monoresgen complies like this: /home/genius/projects/gekkota/src/Gekkota.Core/de-DE/default.build(44,60): resgen task/usr/local/bin/monoresgen.exe failed to start. Cannot find the specified file The *.resx file to compile is there and error free (otherwise it wouldn't have compiled on Windows)... Does anybody know more on this? Gius_. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
Re: [nant-dev] Problem with the resgen task on Linux
On Sat, 2003-06-28 at 16:22, Ian MacLean wrote: Guis, can you run with -verbose. Grab the commandline thats generated and try it in a shell window. ie see if the same failure occurs when running monoresgen by itself. If not can you post the full output generated by nant - including stack trace. No, monoresgen doesn't work... I'll post this to the Mono list. Gius_. Ian Hi Gert, On Sat, 2003-06-28 at 13:48, Gert Driesen wrote: Hi Giuseppe, I looked at the code of the resgen task, and apparently it's not being executed on the mono runtime right now. The following comment is in the UsesRuntimeEngine property : // TO-DO : uncomment this when monoresgen no longer crashes when run with the mono runtime. I think that comment was put there by Ian, but I haven't checked this. Can you uncomment the code in in Resgen.UsesRuntimeEngine and try again ? I've tried it, but it doesn't work at all. This is the error message: Error: Exception has been thrown by the target of an invocation. Total time: 0 seconds. May be that's why Ian commented out lines from 130 to 135 in ResGenTask.cs ... Gius_. Gert - Original Message - From: Giuseppe Greco [EMAIL PROTECTED] To: NAnt Developers [EMAIL PROTECTED] Sent: Saturday, June 28, 2003 11:44 AM Subject: [nant-dev] Problem with the resgen task on Linux Hi all, I've target like this: target name=build description=Builds resource binaries for de-DE culture mkdir dir=${build.dir}/bin/${culture} failonerror=false/ resgen input=${assembly}.resx output=${assembly}.${culture}.resources todir=${build.dir}/bin/${culture}/ al target=lib culture=${culture} output=${build.dir}/bin/${culture}/${assembly}.resources.dll sources basedir=${build.dir}/bin/${culture} includes name=*.resources/ /sources /al /target The target above just generates a .resources file and the related satellite resource assembly DLL. It works on Windows, but it doesn't on Linux! monoresgen complies like this: /home/genius/projects/gekkota/src/Gekkota.Core/de-DE/default.build(44,60): resgen task/usr/local/bin/monoresgen.exe failed to start. Cannot find the specified file The *.resx file to compile is there and error free (otherwise it wouldn't have compiled on Windows)... Does anybody know more on this? Gius_. -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers -- Giuseppe Greco ::agamura:: phone: +41 (0)91 604 67 65 mobile: +41 (0)76 390 60 32 email: [EMAIL PROTECTED] web:www.agamura.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers