[Penrose-discuss] Questions about creating a simple module
Thomas Watson
tjwatson at us.ibm.com
Tue Sep 11 11:25:25 PDT 2012
David Bosschaert <david.bosschaert at gmail.com> wrote on 09/10/2012 02:14:15
PM:
> Hi Tom,
>
> Yes, I'm pretty sure its possible to deploy a modular jar that
> contains META-INF/module-info.json (and no module-info.class). Shi Jun
> is right in that the tooling support is not yet complete, but the
> steps he posted should work. The penrose demos (in
> http://hg.openjdk.java.net/penrose/penrose) are converted to use
> META-INF/module-info.json, so they should show how you can use this in
> a module jar.
>
> The system tests [1] and [2] may also be of help to you... [1] shows a
> basic module using JSON metadata, while [2] shows a simple module that
> contains custom metadata in the JSON module definition.
>
> Best regards,
>
> David
>
> http://hg.openjdk.java.net/penrose/jigsaw/jdk/file/8ddc73840820/
> test/org/openjdk/jigsaw/hello-json.sh
> http://hg.openjdk.java.net/penrose/jigsaw/jdk/file/8ddc73840820/
> test/org/openjdk/jigsaw/hello-json-custom.sh
>
Sorry if this is a resend. I tried to send this message earlier but never
saw it show up on the list:
Thanks David,
My understanding of this list is that I will be able to obtain answers that
are under the duel license (licensed under the 3-clause BSD license and
also GPLv2) as stated in the mail list info at
http://mail.openjdk.java.net/mailman/listinfo/penrose-discuss
Keeping that in mind, answers that point to example code that is only
licensed under GPLv2 will not help. I will be using this list to ask lots
of questions that others would likely find out simply by looking at the GPL
source code. Unfortunately I don't have that option and I need to keep to
a channel that avoids exposure to GPLv2 only source.
Tom
More information about the penrose-discuss
mailing list