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"/> 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? Chris On May 27, 9:01 pm, Ed <[email protected]> wrote: > How is it possible to disable/enable CSS obfuscating in the gwt.xml > file ? > > This should be very handy as I have many css styles that aren't > allowed to be obfuscated during testing as they are used by Selenium. > At the moment I disable obfuscating with the annotation @external, but > that is fixed. I would love if this would be adjustable in the gwt.xml > file. -- 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.
