Issue Details (XML | Word | Printable)

Key: IZPACK-63
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Julien Ponge
Reporter: Julien Ponge
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IzPack

Reduce the installers size

Created: 15/Apr/08 07:56 AM   Updated: 25/Sep/08 02:45 AM
Component/s: Installer
Affects Version/s: None
Fix Version/s: 4.1.0

Time Tracking:
Not Specified


 Description  « Hide
Lots of data go into an installer Jar:
  • files that form packs data
  • resources
  • panels
  • utility classes
  • 3rd-party libraries (e.g., custom look and feels).

Most of the data has always been stored in a rather naive fashion. For example each pack is a stream of alternating information class serialization and raw data.

The goal of this enhancement is to:

  1. investigate where improvement can be made, and
  2. the solutions for reducing the footprint in those areas, and
  3. (of course!) implement the necessary changes.

Given the nature of the work, it will have to be performed in a branch.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Julien Ponge added a comment - 20/Apr/08 11:47 AM
Note for future work: the JSON classes at http://www.json.org/java/index.html could probably be adapted to see if JSON could replace Java object serialization. JSON is more compact, and being completely text-based, it should also compress better.

Julien Ponge added a comment - 08/Jul/08 04:53 AM
Sounds like Google just released exactly what I was looking for!

http://code.google.com/apis/protocolbuffers/docs/javatutorial.html