Project

General

Profile

Actions

Bug #469

closed

minimize size of final distribution

Added by Matt Jones over 22 years ago. Updated about 22 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
04/15/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
469

Description

Current morpho and config jar files are huge (3.7 MB), I think needlessly. We
need to go through and systematically trim out unneeded cruft from the jar files
that get built. This includes consolidation of images and icons used to include
only one copy of those few images that we actually use. Right now, there are
separate copies of the images in each package. We can accomplish this my making
a separate jar file for images that gets built from an "images" subdir within
lib, and the images would be loaded using getResource relative to that jar path.

Many config files in lib are probably uneeded and can be axed from the jar at
least, possibly from CVS too.

Actions #1

Updated by Dan Higgins over 22 years ago

Where are these reportedly large jar files? My morpho.jar is currently 711KB
and morpho-config.jar is reported as 133KB.
Dan Higgins

Actions #2

Updated by Jing Tao over 22 years ago

Just now I took a look the both jar file. Currently, in morpho-jar file are
eml dtd file, some xml files and some style sheets. They all seem usefull.

But in morpho.jar file, we can delete some image files which are useless.

Actions #3

Updated by Jing Tao over 22 years ago

I took the linux machine and found the morpho-config.jar is 135 KB and
morpho.jar is 747 KB. Almost the same size as Dan's.

Actions #4

Updated by Matt Jones about 22 years ago

Develop list of files that are not needed, and if everyone agrees, then delete them.

Actions #5

Updated by Jing Tao about 22 years ago

These files were deleted from cvs:
src/edu/ucsb/nceas/morpho/query/WrappedTextRenderer.java
src/edu/ucsb/nceas/morpho/query/images/openButton.gif
src/edu/ucsb/nceas/morpho/query/images/local+network-metadata+data.gif
src/edu/ucsb/nceas/morpho/query/images/local+network-metadata.gif
src/edu/ucsb/nceas/morpho/query/images/local-metacat.gif
src/edu/ucsb/nceas/morpho/query/images/local-metadata+data.gif
src/edu/ucsb/nceas/morpho/query/images/local-metadata.gif
src/edu/ucsb/nceas/morpho/query/images/metacat.gif
src/edu/ucsb/nceas/morpho/query/images/net.gif
src/edu/ucsb/nceas/morpho/query/images/network-metadata+data.gif
src/edu/ucsb/nceas/morpho/query/images/network-metadata.gif
lib/GeographicCoverage.xml
lib/TaxonomicCoverage.xml
lib/TemporalCoverage.xml

Then we create new jar file named shippedIcons.jar which only contains the
icons morpho used to replace jlfgr-1_0.jar to be distributed. jlfar-1_0.jar
will be keep in cvs too in order for future usage.

Actions #6

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 469

Actions

Also available in: Atom PDF