IzPack

Reduce the installers size

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 4.1.0
  • Component/s: Installer
  • Labels:
    None
  • Number of attachments :
    0

Description

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.

Activity

Hide
Julien Ponge added a comment -

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.

Show
Julien Ponge added a comment - 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.
Hide
Julien Ponge added a comment -

Sounds like Google just released exactly what I was looking for!

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

Show
Julien Ponge added a comment - Sounds like Google just released exactly what I was looking for! http://code.google.com/apis/protocolbuffers/docs/javatutorial.html

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: