Hi all,

After testing this we could observe that the individual jar sized were
almost halved.

The final P2 contains both the packed jars and unpacked jars and on
downloading it downloads the packed jars, hence the download time was also
reduced to a reasonable extent.

Yet, one concern we have is this will not pack the dependent 3rd party
bundles that are shipped with our p2.

Is there any way to get these third party bundles also packed and size
reduced?

Regards
Awanthika

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791



On Tue, Dec 1, 2015 at 8:50 AM, Kavith Lokuhewage <[email protected]> wrote:

> I will give it a try and let you know the results.
>
> Thanks,
>
> On Mon, Nov 30, 2015 at 6:22 PM, Jasintha Dasanayake <[email protected]>
> wrote:
>
>> +1 , seems it reduces the considerable amount of the size of a jar so
>> with the kernel based approach it's will be very useful since it will help
>> to reduce downloadable time of updates
>>
>> Thanks and Regards
>> /Jasintha
>>
>> On Mon, Nov 30, 2015 at 6:04 PM, Harshana Eranga Martin <
>> [email protected]> wrote:
>>
>>> Hi Kavith,
>>>
>>> +1 for this proposal.
>>>
>>> Eclipse CI/CD Servers are configured to use the Pack200 and worked
>>> without any major issues in the past for Eclipse Simultaneous Release.
>>> There was one issue if I'm not mistaken due to packed nested jar files [3].
>>> But it is again as I remember was due to the characteristics of Buckminster
>>> (Eclipse Build Servers), Since you are using Tycho, I don't expect any
>>> issues. But better give a try and see as the advantage of reduction in size
>>> is greater than the cost of wasted effort.
>>>
>>> [3]. https://bugs.eclipse.org/bugs/show_bug.cgi?id=463131
>>>
>>> Thanks and Regards,
>>> Harshana
>>> --
>>> Harshana Eranga Martin
>>>
>>> Committer - Eclipse ECF: http://www.eclipse.org/ecf/
>>> Blog: http://harshana05.blogspot.com
>>> Profile: https://www.google.com/profiles/harshana05
>>>
>>> On 30 November 2015 at 16:58, Kavith Lokuhewage <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> Quoting from [1],
>>>> " Pack200 is a compression technology included in Java 1.5.0. It was
>>>> designed for compressing jars and works most efficiently on Java class
>>>> files. Using Pack200 compression can reduce the size of a jar by about 60%.
>>>> By packing the jars placed on an update site and enabling update to unpack
>>>> those jars after download, the amount of data downloaded during an update
>>>> can be greatly reduced. "
>>>>
>>>> Eclipse uses Pack200 compression to deliver light weight downloads for
>>>> the plugins in its p2 repositories. Eclipse has in-built support for this
>>>> and Tycho provides tycho-pack200b-plugin [2] which has two goals to pack
>>>> and normalize plugins - hence it's possible to automate this with less
>>>> effort.
>>>>
>>>> I think we also can use this to reduce download sizes of plugins
>>>> related to Developer Studio. WDYT?
>>>>
>>>> Thanks,
>>>>
>>>> [1] https://wiki.eclipse.org/Pack200
>>>> [2] https://wiki.eclipse.org/Tycho/Pack200
>>>>
>>>> --
>>>> *Kavith Lokuhewage*
>>>> Software Engineer
>>>> WSO2 Inc. - http://wso2.com
>>>> lean . enterprise . middleware
>>>> Mobile - +9477-9-145-123 | +9471-455-6-401
>>>> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
>>>> Twitter <https://twitter.com/KavithThiranga>
>>>>
>>>> _______________________________________________
>>>> Architecture mailing list
>>>> [email protected]
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>
>>
>> --
>>
>> *Jasintha Dasanayake*
>>
>> *Senior Software EngineerWSO2 Inc. | http://wso2.com
>> <http://wso2.com/>lean . enterprise . middleware*
>>
>>
>> *mobile :- 0711368118*
>>
>
>
>
> --
> *Kavith Lokuhewage*
> Software Engineer
> WSO2 Inc. - http://wso2.com
> lean . enterprise . middleware
> Mobile - +9477-9-145-123 | +9471-455-6-401
> Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>
> Twitter <https://twitter.com/KavithThiranga>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to