container format for jigsaw modules
Dalibor Topic
Dalibor.Topic at Sun.COM
Thu Oct 29 15:01:10 PDT 2009
Dalibor Topic wrote:
> Comments, ideas, etc. welcome.
A few further notes:
* I'm looking at adding a container format to Jigsaw - not a package
manager, no fancy remote repository format, no such protocols, etc.
Just a simple way to transfer a (set of) module(s) from A to B in a
fixed form without having to port/require RPMs, debs, svr4, IPS, etc.
to exist on all platforms. IPS is almost there, but it lacks a
fixed format.
* I would prefer to keep the internals of the jxr format flexible as
long as possible - it's specific to Jigsaw, and doesn't have to
follow the classical 'take JAR files and then throw something into
the magic directory' approach. Even if we don't end up picking xar
as the underpinnings of jxr, the separation of meta-data and payload
is a very useful property, along with the idea to push meta-data first.
hash it, compress it, etc.
* xar stores metadata as xml. That may not be a great choice for
Jigsaw's metadata, if jmod needs to extract it on its own and
can't rely on using a native xar tool to do it.
cheers,
dalibor topic
--
*******************************************************************
Dalibor Topic Tel: (+49 40) 23 646 738
Java F/OSS Ambassador AIM: robiladonaim
Sun Microsystems GmbH Mobile: (+49 177) 2664 192
Nagelsweg 55 http://openjdk.java.net
D-20097 Hamburg mailto:Dalibor.Topic at sun.com
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Häring
More information about the jigsaw-dev
mailing list