Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] pack200 - are packed features supported?

Andrew -
thanks very much for the reply - and verifing that packed feature jars are not supported in the old update code.

Yes the failure was due to the update site only having feature pack.gz files and not including any plain jar files.
One of the main reasons for using pack200 is to make our update site smaller - so including the jar files and the pack.gz files wouldn't help in that cause.

And I also agree with the comment that packing the features doesn't buy much in terms of size reductions ( as compared to packing the plugins ).
So the fact that packed feature jars are not supported is not a big problem - just wanted to confirm.

thanks for the comment on P2 also - haven't tried packing any p2 artifacts yet.

Janet Dmitrovich
WPLC Expeditor Software Development
jdmitrov@xxxxxxxxxx
512-838-4912 T/L:678-4912 FAX:512-838-3703
11501 Burnet Road, Austin TX 78758 (Internal ZIP: 9372)



Inactive hide details for Andrew Niefer ---06/04/2008 04:53:42 PM---Janet,Andrew Niefer ---06/04/2008 04:53:42 PM---Janet,

          Andrew Niefer <aniefer@xxxxxxxxxx>
          Sent by: equinox-dev-bounces@xxxxxxxxxxx

          06/04/2008 04:52 PM

          Please respond to
          Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To

Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

cc


Subject

Re: [equinox-dev] pack200 - are packed features supported?


Janet,
>From a brief look at the code, it appears that the old update (org.eclipse.update.core) only runs unpack on plugin jars and not on feature jars. It shouldn't even look for .pack.gz files for the features, if you are failing does that mean your update site only contains pack.gz files and not the normal jars? (Generally, it was suggested that both should be placed on the update site in case of a failure with pack200).

I'm not sure for certain, but I expect that p2 would support pack200 on all jars since everything is an IU and they are just artifacts.

As an aside, note that the pack200 compression works on .class files. So, in general there is not much to be gained by packing features.

-Andrew

Janet Dmitrovich <jdmitrov@xxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

06/04/2008 04:52 PM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
To
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
cc
Subject
[equinox-dev] pack200 - are packed features supported?




Question on pack200

I packed a feature jar and the associated plugins, and packaged them into an update site.
Tried to install via update manager - the install failed.

However if I use an unpacked feature jar, but include packed plugins in the update site then the install is successful.
Is there something special about feature jars and pack200

thanks, Janet

Janet Dmitrovich
WPLC Expeditor Software Development
jdmitrov@xxxxxxxxxx
512-838-4912 T/L:678-4912 FAX:512-838-3703
11501 Burnet Road, Austin TX 78758 (Internal ZIP: 9372)

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

GIF image

GIF image

GIF image


Back to the top