Survey, site.p2 defaults [message #519228] |
Sun, 07 March 2010 22:12  |
Eclipse User |
|
|
|
Hi,
I'm looking at Bug 302684 "Exclude original jar files when using pack200" [1]. The question that comes to mind is,
shouldn't this be the default? If I indicate that I want a site with pack200 packed files, why would I want to retain
the original jars as siblings?
There is perhaps one reason. If I access the repository from the local file system (using file:/ URL's), then p2 will
use the original jar even if a packed one is present to avoid the overhead of unpacking. But is this reason prominent
enough to make the repository three times larger then it needs to be?
As part of the bug resolution, I'm planning to add the property:
site.retain.unpacked=true/false
The question is, what's the best default for this flag? My preference is 'false'. What's your opinion?
Regards,
Thomas Hallgren
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=304958
|
|
|
|
Re: Survey, site.p2 defaults [message #520660 is a reply to message #519228] |
Sat, 13 March 2010 16:22  |
Eclipse User |
|
|
|
This is now implemented and pushed to our 3.6 update site. It will be part of 3.6M6. The default for the
site.retain.unpacked is false.
- thomas
On 03/08/2010 08:49 AM, Thomas Hallgren wrote:
> Hi,
> I'm looking at Bug 302684 "Exclude original jar files when using
> pack200" [1]. The question that comes to mind is, shouldn't this be the
> default? If I indicate that I want a site with pack200 packed files, why
> would I want to retain the original jars as siblings?
>
> There is perhaps one reason. If I access the repository from the local
> file system (using file:/ URL's), then p2 will use the original jar even
> if a packed one is present to avoid the overhead of unpacking. But is
> this reason prominent enough to make the repository three times larger
> then it needs to be?
>
> As part of the bug resolution, I'm planning to add the property:
>
> site.retain.unpacked=true/false
>
> The question is, what's the best default for this flag? My preference is
> 'false'. What's your opinion?
>
> Regards,
> Thomas Hallgren
>
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=304958
|
|
|
Powered by
FUDForum. Page generated in 0.04226 seconds