Reduce size of Uber JAR
The current artefact size is 40MB. This can easily be reduced to 17MB by removing the duplicate Stratego library, the Stratego editor, the ESV editor and other unnecessary files (WebDSL strategies) contained in the JAR.Submitted by Guido Wachsmuth on 28 June 2016 at 11:55
Can you make a list of files/directories/patterns in the JAR that are unnecessary?
I noticed the Uber JAR already got somewhat smaller (33.9MB currently). To reduce it further down to 14.4MB, the files that are marked in the uber-jar.png (attached) can be removed. I think this should be possible without breaking anything?
Essentially, remove everything from the jar except for folder META-INF/ and folder org/.
I realized I also marked LICENSE and NOTICE to be removed, but that was an error.
I noticed you fixed this. Thank you very much!
Yep, turns out there was a rogue strategoxt.jar in the uber JAR.
Log in to post comments