Greg Sheremeta has uploaded a new change for review. Change subject: build: added maven variable for gwt css obfuscation ......................................................................
build: added maven variable for gwt css obfuscation Added gwt.cssObfuscationStyle variable that sets GWT's CssResource.style property. This property controls the GWT CSS obfuscation. Use 'obs' for obfuscated (the default), or 'pretty' for human-readable. 'pretty' mode is very help for CSS development and debugging. Change-Id: Icdc4b08f47a2e1570b07037ff30fc4705f308b0a Signed-off-by: Greg Sheremeta <gsher...@redhat.com> --- M frontend/webadmin/modules/pom.xml M frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/UserPortal.gwt.xml M frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/webadmin/WebAdmin.gwt.xml 3 files changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/95/27895/1 diff --git a/frontend/webadmin/modules/pom.xml b/frontend/webadmin/modules/pom.xml index 211865d..8ccb4b9 100644 --- a/frontend/webadmin/modules/pom.xml +++ b/frontend/webadmin/modules/pom.xml @@ -63,6 +63,8 @@ <gwt.locale>en_US</gwt.locale> <!-- By default, engine port is 8080 --> <engine.port.http>8080</engine.port.http> + <!-- GWT CSS obfuscation style. production should be 'obf', use 'pretty' in development for easier css debugging --> + <gwt.cssObfuscationStyle>obf</gwt.cssObfuscationStyle> </properties> <dependencyManagement> <dependencies> diff --git a/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/UserPortal.gwt.xml b/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/UserPortal.gwt.xml index 1f3cfd8..4495d06 100644 --- a/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/UserPortal.gwt.xml +++ b/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/UserPortal.gwt.xml @@ -39,4 +39,7 @@ <set-property name="locale" value="${gwt.locale}" /> <set-property-fallback name="locale" value="en_US" /> + <!-- GWT CSS obfuscation style --> + <set-configuration-property name="CssResource.style" value="${gwt.cssObfuscationStyle}"/> + </module> diff --git a/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/webadmin/WebAdmin.gwt.xml b/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/webadmin/WebAdmin.gwt.xml index f3b7664..195c1e8 100644 --- a/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/webadmin/WebAdmin.gwt.xml +++ b/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/webadmin/WebAdmin.gwt.xml @@ -39,4 +39,7 @@ <set-property name="locale" value="${gwt.locale}" /> <set-property-fallback name="locale" value="en_US" /> + <!-- GWT CSS obfuscation style --> + <set-configuration-property name="CssResource.style" value="${gwt.cssObfuscationStyle}"/> + </module> -- To view, visit http://gerrit.ovirt.org/27895 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icdc4b08f47a2e1570b07037ff30fc4705f308b0a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Greg Sheremeta <gsher...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches