Red Hat Bugzilla – Bug 830323
Large artifacts get packaged in war file. Remove symbolMap data from GWT compiled war file.
Last modified: 2015-02-01 18:29:39 EST
Description of problem:
i just noticed jbossas/server/default/deploy/rhq.ear.rej/coregui.war/WEB-INF/deploy/org.rhq.enterprise.gui.coregui.CoreGUI/symbolMaps in my 3.1.0.GA install
it's 168 MB
we don't need the symbol maps if we're not using the stack trace symbol mapping feature do we?
For further info:
This appears to be large unused files that get packaged into the war.
This should be done post 3.1.1
Created attachment 593299 [details]
coregui.war pre change
Created attachment 593300 [details]
Post coregui.war - shows files are now removed
Master commit: 158f90d
I changed the mapped location of where these symbolMaps were being built to outside the war so that they would not get packaged in the deployed build as they are not used in the deployment.
Size of coregui.war (in test environment with 1 language and 1 browser)
savings 7% reduction is size should be more with the more languages and browsers.
This would only affect the size of the build artifacts not functionality. But should shave many megabytes off the final deployment ear.