Demo status, and a couple of jpkg enhancement requests

Dalibor Topic Dalibor.Topic at Sun.COM
Sat May 30 05:47:02 PDT 2009


On 05/28/09 07:40, Mark Reinhold wrote:
> 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.)
>   
I've gone for the simplest solution - wrap module in jar file, pack that 
(without gzipping it),
and let dpkg-deb do the LZMA magic on it. Upon installation, the packed 
file is temporarily turned into a jar file, which is extracted, and upon 
completion, thrown away, so we end up with classes on disk.
>   - 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.
>   
Working on it. Should be fairly easy to get right.
> 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.)
>   
Thank you for the patch, fixes for the issues have been committed.

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, Dr. Roland Bömer
Vorsitzender des Aufsichtsrates: Martin Häring




More information about the jigsaw-dev mailing list