Bug 830323

Summary: Large artifacts get packaged in war file. Remove symbolMap data from GWT compiled war file.
Product: [Other] RHQ Project Reporter: Mike Thompson <mithomps>
Component: Core UIAssignee: Mike Thompson <mithomps>
Status: ON_QA --- QA Contact: Mike Foley <mfoley>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.4CC: hbrock, hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: 4.5.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
coregui.war pre change
Post coregui.war - shows files are now removed none

Description Mike Thompson 2012-06-08 16:43:39 EDT
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
Comment 1 Mike Thompson 2012-06-20 15:34:13 EDT
Created attachment 593299 [details]
coregui.war pre change
Comment 2 Mike Thompson 2012-06-20 15:42:32 EDT
Created attachment 593300 [details]
Post coregui.war - shows files are now removed
Comment 3 Mike Thompson 2012-06-20 16:34:44 EDT
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)

Before Change:


After change:


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.