On May 28, 3:29 pm, Chris Lercher <[email protected]> wrote:
> It can be done:
>
> com.gwt.resources.Resources.gwt.xml defines the "CssResource.style"
> property. Looking into
> com.google.gwt.resources.rg.CssResourceGenerator.init() shows, that we
> can set the property to "pretty" - so in your .gwt.xml file you would
> write:
>
> <set-configuration-property name="CssResource.style" value="pretty"/>

Note that you didn't have to digg into the code, this is a documented
switch:
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#Levers_and_Knobs

> The resulting name is still complex (because it has to be unique
> across multiple CSS resources), but at least it contains the original
> class name at the end of the name - I'm not sure, if you can use this
> in your situation?

See 
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#Selector_obfuscation
Though I don't know what it exactly does to change the
obfuscationPrefix.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to