Monday, August 27, 2012

Re: How to switch css-Obfuscation ON?

thx  i'll try

i read the mentiond doc already but the comment above the code was somehow misleading: "<!-- This can be used to make CssResource produce human-readable CSS -->"

On Monday, 27 August 2012 10:07:02 UTC+2, Thomas Broyer wrote:


On Monday, August 27, 2012 9:40:25 AM UTC+2, tanteanni wrote:
i know how to switch css obuscation off:

<set-configuration-property name="CssResource.style" value="pretty"/>

this is don in my default gwt.xml. But how to turn it on again - in my ci.gwt.xml/ release.gwt.xml? i asked this already at stackoverflow but it seems to be a very hard question?!

So what values could be asigned to "CssResource.style" and what value is the default value - the value that activates the obfuscation?

Answered on SO:

That configuration property is defined in com/google/gwt/ressources/Ressources.gwt.xml that way:

<define-configuration-property name="CssResource.style" is-multi-valued="false" />
<set-configuration-property name="CssResource.style" value="obf" />
I.e. the default value is obf. I believe obfuscate or obfuscated would work too (if you find them more readable). 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/7S6S8vAXoCQJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment