Demo status, and a couple of jpkg enhancement requests

Mark Reinhold mr at sun.com
Wed May 27 22:40:14 PDT 2009


Yes, it's the week before JavaOne.  Utter insanity.

I've somehow managed to hack up a reasonably-credible demo.  Thanks
to Jonathan for the recent compiler changes, and to Dalibor for the
packaging tool.

I need to clean up my patch queue a bit, but I'll try to push my
current changes into the forest tomorrow.  I'll also post the demo
script, for the curious.

Dalibor -- Any chance of getting these two jpkg enhancements done
in the next day or so?

  - Compress class files using pack200 rather than simple gzip.
    This would make for a huge improvement in our package sizes.
    It probably makes sense to leave packaged classes in the JAR
    format.  If so, I can easily change the runtime code to look
    for JAR files in addition to classes/ directories.  You can
    assume that $JAVA_HOME/bin contains the unpack200 binary.

    (When packing I wouldn't bother to compress the output file;
     dpkg-deb will compress it with gzip anyway.)

  - Define additional command-line options for specifying some
    of the more common package attributes such as maintainer,
    description, section, installed-size, and maybe home page.
    Right now the JDK packages show up in Synaptic in a fairly
    boring way, without the information people expect.

Fixes for the launcher-script issues would be welcome too: Use the
jmod in the installed $JAVA_HOME/bin, and exec rather than fork the
java binary.  (I have a tiny patch to fix jpkg's translation of
version strings, which I'll include in my next push.)

- Mark



More information about the jigsaw-dev mailing list