IonuČ› G. Stan IonuČ› G. Stan - 1 month ago 17
CSS Question

How to debug CSS when using GWT

How do you guys debug CSS when using

ClientBundle
s in GWT given that CSS class names are obfuscated. I'm using a
CellTable
and some rows have up to 4-5 class names.

Is there a way to
@export
all these classes in a certain CSS file? I don't want to explicitly export them all, even with an automated way of extracting the class names. Maybe, just as a last resort.

Thanks!

Answer

In your gwt.xml file,

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

See the CssResource docs at http://code.google.com/p/google-web-toolkit/wiki/CssResource#Levers_and_Knobs