Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 161865 - Add harmony implementation of pack200 for using unpacker on older VMs
Summary: Add harmony implementation of pack200 for using unpacker on older VMs
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Update-Inbox CLA
QA Contact:
URL: http://alblue.blogspot.com/search/lab...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-22 06:55 EDT by Alex Blewitt CLA
Modified: 2007-03-26 10:00 EDT (History)
1 user (show)

See Also:


Attachments
Adapter to bind Pack200 progress to a IProgressMonitor (5.45 KB, application/octet-stream)
2006-10-22 07:48 EDT, Alex Blewitt CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2006-10-22 06:55:35 EDT
I'm working on an open-source port (Apache license) of the pack200 unpacker/packer. It would be good if this were made available in the Eclipse platform to allow older versions of Eclipse to benefit from the functionality (or RCP applications that do not have requirements on newer versions).

Since this is a work in progress, please leave this bug as NEW but assign a milestone of LATER, and I'll keep track of my status here and on my blog under pack200
Comment 1 Alex Blewitt CLA 2006-10-22 07:48:36 EDT
Created attachment 52485 [details]
Adapter to bind Pack200 progress to a IProgressMonitor

This provides a simple binding between the Java 1.5 Pack200 (un)packer to a standard Eclipse IProgressMonitor. There's a test to simulate what would happen when the (un)packer fires updates.

This needs java.beans API and also Java 1.5 (since the Pack200 updater uses JavaBeans events to fire updates). I would expect that the version that doesn't need 1.5 would use a more sensible mechanism to report progress so that it would be possible to give a better idea of how well it is going.

These files have EPL copyright headers, and are licensed under the Eclipse Public License 1.0. Obviously, a better package name than 'org.eclipse' would come in handy :-)
Comment 2 Alex Blewitt CLA 2007-03-26 10:00:56 EDT
This isn't going to be done. The Harmony implementation isn't in the same time-frame as 3.3, and when 3.3+ is released, Java 1.5 is likely to be the defacto standard, so there's no point in shipping extra weight just to cater for <1.5 systems at this time.

Ergo, closing WONTFIX.