RE: [nant-dev] L16N

2005-02-15 Thread Greco Giuseppe
> > > ... > > > > > > will work just fine. > Just a question: does the element automatically embed the defalut resources into the assembly, or is the element still necessary? j3d. -- DISCLAIMER ---

Re: [nant-dev] L16N

2005-02-15 Thread Ian MacLean
Ian MacLean wrote: Ian MacLean wrote: output="${build.dir}/${package.name}/lib/${culture}/${assembly}.resource s.dll" culture="${culture}"> ... value="-res:${build.dir}/${package.name}/lib/${default.resources}" /> we can use

RE: [nant-dev] L16N

2005-02-15 Thread Greco Giuseppe
Ian, I'm at work too... so I cannot start right now... j3d. > -Original Message- > From: Ian MacLean [mailto:[EMAIL PROTECTED] > Sent: mercoledì, 16 febbraio 2005 08:40 > To: Greco Giuseppe > Cc: nant-developers@lists.sourceforge.net > Subject: Re: [nant-dev] L16N > > > > >The first

Re: [nant-dev] L16N

2005-02-15 Thread Ian MacLean
Ian MacLean wrote: output="${build.dir}/${package.name}/lib/${culture}/${assembly}.resource s.dll" culture="${culture}"> ... value="-res:${build.dir}/${package.name}/lib/${default.resources}" /> we can use the child element for

Re: [nant-dev] L16N

2005-02-15 Thread Ian MacLean
The first step would be to create the resource files (NAnt.Core.en-US.resx, NAnt.DotNet.Task.en-US.resx, etc.), we can just start with NAnt.Core.resx for the default ( US english ) language. then replace hardcoded strings with RM.GetString("Message_Id") - or whatever name you want, and finally a

Re: [nant-dev] L16N

2005-02-15 Thread Ian MacLean
Greco Giuseppe wrote: I figured that one out :). We could probably call it NAnt.Core.ResourceUtils or somthing like that. That's up to you... but such a name is a little bit too long and uncomfortable to be used often... you think ? Show me some classes in the core framework that have 2 l

RE: [nant-dev] L16N

2005-02-15 Thread Greco Giuseppe
Ian, > >You're right... attached to this email you'll find a better > version of > >RM.cs (RM stands for [R]esource[M]anager). > > > > > > > I figured that one out :). We could probably call it > NAnt.Core.ResourceUtils or somthing like that. That's up to you... but such a name is a little b

Re: [nant-dev] Windows installer for binary distribution.

2005-02-15 Thread Ian MacLean
Perhaps we should explore a new mechanism for extension libraries in NAnt, with inspiration taken from the Java jre/lib/ext idea... 4) Install NAntContrib to a different folder, and add an xml descriptor/locator in NAnt/bin/ext which describes the library. NAnt could scan the bin/ext folder for

RE: [nant-dev] Windows installer for binary distribution.

2005-02-15 Thread Subbu Balakrishnan
I agree completely that installing on top of an existing NAnt installtion would be quite rude :-). Maybe a "buyer beware" clause ought to apply. I can't see how one can reasonably detect the presence of a NAnt installation short of scanning all disks for NAnt.exe! -Original Message- From:

RE: [nant-dev] Windows installer for binary distribution.

2005-02-15 Thread Troy Laurin
>From: [EMAIL PROTECTED] >>Option 4 looks like an elegant (but long term) solution. How about a >another >>radical proposal: If there's interest, I might be able to put together a proof-of-concept this weekend. >>The NAntContrib installer also installs a suitable version of NAnt >>PROS: One inst

Re: [nant-dev] L16N

2005-02-15 Thread Ian MacLean
Greco Giuseppe wrote: Ian, looks ok - but why not get AssemblyName dynamically using : Assembly.GetCallingAssembly() ? then you only need to define the RM class once in NAnt.Core. You're right... attached to this email you'll find a better version of RM.cs (RM stands for [R]esource[M]anage

Re: [nant-dev] Windows installer for binary distribution.

2005-02-15 Thread Ian MacLean
John Cole wrote: There was a discussion on this topic a few months ago. The main point of contention was installing NAnt/NAntContrib to the same directory or not and whether or not to include NAntContrib at all in the installer. My feelings remain the same. Use the MSI target as is. It works gre

RE: [nant-dev] Windows installer for binary distribution.

2005-02-15 Thread Subbu Balakrishnan
My humble 2c worth ... Option 4 looks like an elegant (but long term) solution. How about a another radical proposal: The NAntContrib installer also installs a suitable version of NAnt PROS: One install installs both. Environment vars, paths all fixed up correctly. Suitable versions of NAnt/Con

Re: [nant-dev] Windows installer for binary distribution.

2005-02-15 Thread Troy Laurin
Swoogan wrote: John Cole wrote: There was a discussion on this topic a few months ago. The main point of contention was installing NAnt/NAntContrib to the same directory or not and whether or not to include NAntContrib at all in the installer. I was warring with the same dilema as far as NAnt/NAn

Re: [nant-dev] Windows installer for binary distribution.

2005-02-15 Thread Swoogan
John Cole wrote: There was a discussion on this topic a few months ago. The main point of contention was installing NAnt/NAntContrib to the same directory or not and whether or not to include NAntContrib at all in the installer. My feelings remain the same. Use the MSI target as is. It works gre

RE: [nant-dev] Windows installer for binary distribution.

2005-02-15 Thread John Cole
There was a discussion on this topic a few months ago. The main point of contention was installing NAnt/NAntContrib to the same directory or not and whether or not to include NAntContrib at all in the installer. My feelings remain the same. Use the MSI target as is. It works great, its ready to

Re: [nant-dev] Windows installer for binary distribution.

2005-02-15 Thread Jim Geurts
I agree that a win32 install would be a nice addition to NAnt. I think it could get some people using NAnt that would otherwise shy away from it... The install script in NAntContrib is functional, to the best of my knowledge. It just hasn't been used to generate official installs. I would say t

RE: [nant-dev] L16N

2005-02-15 Thread Greco Giuseppe
Ian, > looks ok - but why not get AssemblyName dynamically using : > Assembly.GetCallingAssembly() ? > > then you only need to define the RM class once in NAnt.Core. You're right... attached to this email you'll find a better version of RM.cs (RM stands for [R]esource[M]anager). Let me know if

Re: [nant-dev] DataSetGenerator

2005-02-15 Thread Brar Piening
Hi Martin, I don't mind whether my code is in an exe or a dll - I would have needed a wrapper for NAnt if it was an exe that's why I chose the dll. I also didn't want to replace xsd.exe which has some extra features MSDatasetGenerator (and my code) doesn't have, but if you've got a good idea, ju

RE: [nant-dev] L16N

2005-02-15 Thread Greco Giuseppe
Ian, > looks ok - but why not get AssemblyName dynamically using : > Assembly.GetCallingAssembly() ? > > then you only need to define the RM class once in NAnt.Core. > It depends if you plan to create separate resource files for the different NAnt assemblies. Furthermore, it depends also if yo

RE: [nant-dev] DataSetGenerator

2005-02-15 Thread Martin Aliger
Oh - thats new info for me - thanks for clarification. Still - shoudn't be better you write your code into .exe (like myxsd.exe) and use existing task to call it? That way we could use whatever replacement for xsd.exe we want (I'm just writing mine own) btw: does current handle projects with M

RE: [nant-dev] task

2005-02-15 Thread Greco Giuseppe
Ian, > sounds like a good idea. Why don't you log a bug for it ? Done. j3d. > > > > > >-- DISCLAIMER > >-- > >This message (including any attachments) is confidential and may be > >privileged. If you have received it by mistake ple

[nant-dev] [ nant-Bugs-1123001 ] element for the task

2005-02-15 Thread SourceForge.net
Bugs item #1123001, was opened at 2005-02-15 10:55 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1123001&group_id=31650 Category: Core Group: cvs Status: Open Resolution: None

Re: [nant-dev] L16N

2005-02-15 Thread Ian MacLean
Greco Giuseppe wrote: Mono source code does not contain documentation comments; XML stubs are generated via reflection with assembler.exe/updater.exe. Miguel told me that they want to keep user documentation separated from source code, meaning the /doc feature of the C# compiler is useless...

RE: [nant-dev] L16N

2005-02-15 Thread Greco Giuseppe
Hi Ian, > looks like the xmldoc attribute you mention in a later email > is the way > to get around this. We would invoke ndoc once for each > translated language. Exactly... > although we should be able to knock up a script to generate > stubs based > on the original english doc. > Of co