jar size

Feel free to post here any question you may have about muCommander.

jar size

Postby jmurphy » Thu Apr 03, 2008 7:19 pm

As a matter of interest, what caused the size of the mucommander.jar file in the nightlies to increase so much during March?
I'm not complaining, just interested to know :-)

Jonathan Murphy
jmurphy
 
Posts: 12
Joined: Fri Jun 08, 2007 6:05 pm
Location: Oxfordshire, England

Re: jar size

Postby maxence » Thu Apr 03, 2008 8:01 pm

Hi Jonathan,
That's a perfectly legitimate question, someone's paying attention ;)

There are 2 things that caused an increase:

1) a new library is used and bundled with muCommander: JNA (Java Native Access). It makes it possible to invoke native methods without having to mess with JNI. It is only being used under Windows, for interaction with the Recycle Bin amongst other things.

2) Code obfuscation (using Proguard) was disabled because of some weird side effects with JNA. But obfuscation would have been disabled anyway when the Plugin API got released.

Answering this question made me realize that I can save some space by trimming parts of the JNA library. The next nightly build should be almost 300KB smaller than the current one.

Cheers,
Maxence
User avatar
maxence
Site Admin
 
Posts: 436
Joined: Wed Aug 21, 2002 8:18 pm


Return to Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron