[Mono-dev] License compiler for mono (the actual tool)
ck at carlo-kok.com
Fri Oct 16 04:15:49 EDT 2009
On 10/16/2009 5:20 AM, Gonzalo Paniagua Javier wrote:
> On Tue, 2009-10-13 at 15:43 +0200, Carlo Kok wrote:
>> attached to this mail is a (working) license compiler for mono (converts
>> a licx file to a .licenses file that can be embedded as a resource).
>> Works with the patch I sent earlier but also without (has a temporary
>> workaround for that). It accepts the same cmdline arguments as the .NET
>> lc.exe and makes it possible to compile these files as required for any
>> project that uses commercial components that use license files (most do).
>> The program.cs file contains the actual logic. It uses Options.cs from
>> the mono/windows install (ndesk.options) for the command line parsing.
> This is now in mcs/tools/lc (trunk and mono-2-6).
> Thanks a lot!
Very cool. This will end up as an executable for future binary builds?
> P.S.: btw, care to contribute a manual page for it?
I'm afraid I have no idea how to do that. I've never created a MAN file.
> On Tue, 2009-10-13 at 13:49 +0200, Carlo Kok wrote:
>> > The attached patch implements the loading into the runtime license
>> > context to allow pre-compiled websites & applications with licenses to
>> > properly run.
>> > It also implements the DesignTimeLicenseContext serialization support so
>> > once an LC compiler is written it can actually generate licenses.
> This is in svn now (trunk, mono-2-4 and mono-2-6). I had to make 'keys'
> internal for the patch to compile...
Sorry about that, that's what was supposed to be in the diff.
The Infrastructure Company
More information about the Mono-devel-list