You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sis.apache.org by Martin Desruisseaux <ma...@geomatys.fr> on 2013/06/06 21:28:25 UTC

Proposal for a pack200 bundle

For non-Maven users, it may be convenient to download the whole SIS 
library, including dependencies, as a single JAR file. The pack200 
format is a relatively efficient way to perform that task, but I'm not 
aware of a standard Maven plugin for generating that bundle. I have the 
necessary code that I can port. Is there any object to add one more 
custom Maven plugin in our "sis-build-helper" module for generating a 
pack200 file?

If we generate such file, one open question would be where to put it for 
download. Before SIS release, Jenkins provides a place for snapshots. 
But after SIS release, we may need a better location...

     Martin


Re: Proposal for a pack200 bundle

Posted by "Mattmann, Chris A (398J)" <ch...@jpl.nasa.gov>.
Thanks Martin..

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






-----Original Message-----
From: Martin Desruisseaux <ma...@geomatys.fr>
Organization: Geomatys
Reply-To: "dev@sis.apache.org" <de...@sis.apache.org>
Date: Friday, June 7, 2013 7:57 AM
To: "dev@sis.apache.org" <de...@sis.apache.org>
Subject: Re: Proposal for a pack200 bundle

>Le 07/06/13 16:34, Mattmann, Chris A (398J) a écrit :
>> Gotcha. Would this Maven plugin (maven-shade):
>>
>> 
>>http://maven.apache.org/plugins/maven-shade-plugin/examples/includes-excl
>>udes.html
>>
>> Produce what we are looking for?
>
>Seems close. I will give it a try, thanks for the tip. However I didn't
>found mention of pack200...
>
>     Martin
>


Re: Proposal for a pack200 bundle

Posted by Martin Desruisseaux <ma...@geomatys.fr>.
Le 07/06/13 16:34, Mattmann, Chris A (398J) a écrit :
> Gotcha. Would this Maven plugin (maven-shade):
>
> http://maven.apache.org/plugins/maven-shade-plugin/examples/includes-excludes.html
>
> Produce what we are looking for?

Seems close. I will give it a try, thanks for the tip. However I didn't 
found mention of pack200...

     Martin


Re: Proposal for a pack200 bundle

Posted by "Mattmann, Chris A (398J)" <ch...@jpl.nasa.gov>.
Hey Martin,

Gotcha. Would this Maven plugin (maven-shade):

http://maven.apache.org/plugins/maven-shade-plugin/examples/includes-exclud
es.html


Produce what we are looking for?

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






-----Original Message-----
From: Martin Desruisseaux <ma...@geomatys.fr>
Organization: Geomatys
Reply-To: "dev@sis.apache.org" <de...@sis.apache.org>
Date: Friday, June 7, 2013 6:10 AM
To: "dev@sis.apache.org" <de...@sis.apache.org>
Subject: Re: Proposal for a pack200 bundle

>Le 07/06/13 05:12, Mattmann, Chris A (398J) a écrit :
>> Why not do an OSGI bundle with Apache Felix? There is a Felix
>> Maven plugin, pretty easy to use (see Apache Tika, which uses it :) ).
>
>I think we are already creating OSGI bundles (as far as I understand
>them, but I did not tested yet). But in my understanding, OSGI bundles
>are basically JAR files with more information in their
>META-INF/MANIFEST.MF entry... The Pack200 "bundle" I was thinking about
>is more like a "fat JAR", but with better compression. The Pack200 tools
>is part of JDK/JRE.
>
>     Martin
>


Re: Proposal for a pack200 bundle

Posted by Martin Desruisseaux <ma...@geomatys.fr>.
Le 07/06/13 05:12, Mattmann, Chris A (398J) a écrit :
> Why not do an OSGI bundle with Apache Felix? There is a Felix
> Maven plugin, pretty easy to use (see Apache Tika, which uses it :) ).

I think we are already creating OSGI bundles (as far as I understand 
them, but I did not tested yet). But in my understanding, OSGI bundles 
are basically JAR files with more information in their 
META-INF/MANIFEST.MF entry... The Pack200 "bundle" I was thinking about 
is more like a "fat JAR", but with better compression. The Pack200 tools 
is part of JDK/JRE.

     Martin


Re: Proposal for a pack200 bundle

Posted by "Mattmann, Chris A (398J)" <ch...@jpl.nasa.gov>.
Hey Martin,

Why not do an OSGI bundle with Apache Felix? There is a Felix
Maven plugin, pretty easy to use (see Apache Tika, which uses it :) ).

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






-----Original Message-----
From: Martin Desruisseaux <ma...@geomatys.fr>
Organization: Geomatys
Reply-To: "dev@sis.apache.org" <de...@sis.apache.org>
Date: Thursday, June 6, 2013 12:28 PM
To: Apache SIS <de...@sis.apache.org>
Subject: Proposal for a pack200 bundle

>For non-Maven users, it may be convenient to download the whole SIS
>library, including dependencies, as a single JAR file. The pack200
>format is a relatively efficient way to perform that task, but I'm not
>aware of a standard Maven plugin for generating that bundle. I have the
>necessary code that I can port. Is there any object to add one more
>custom Maven plugin in our "sis-build-helper" module for generating a
>pack200 file?
>
>If we generate such file, one open question would be where to put it for
>download. Before SIS release, Jenkins provides a place for snapshots.
>But after SIS release, we may need a better location...
>
>     Martin
>