Not to revive a old thread but wanted to add some relevant info to the
discussion. In the case of <set-configuration-property
name="CssResource.style" value="pretty"/>, the code that generates
the aforementioned very long class names is present in the
computeObfuscatedNames method
of com.google.gwt.resources.rg.CssResourceGenerator class:
if (prettyOutput) {
obfuscatedClassName += "-"
+ type.getQualifiedSourceName().replaceAll("[.$]", "-") + "-"
+ name;
}
Retaining the original class names is a very useful tool while development.
(obfuscation is ideal for only production)
Unfortunately, you can not override the above method which means we are
stuck with these long names. I wish there was a way to have GWT just retain
the class names as they are. (using @external for each and every class is
cumbersome and cant be used for styles within widgets)
--
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/-/KTar1HlqmBUJ.
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.