0
votes

Till GWT 2.5, all the css class were obfuscated by default but in GWT 2.7, while running in super dev mode, it append complete package in class name. I have tried below but it does not work.

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

I does not obfuscated css styles rather it prints name like com-google-gwt-user-cellview-client-CellTable-Style-cellTableCell.

1

1 Answers

1
votes

This is on purpose. There's a comment in the code explaining why:

  // CSSResourceGenerator needs to produce stable, unique naming for its input.
  // Currently on default settings CssResourceGenerator's obfuscation depends on
  // whole world knowledge and thus will produce collision in obfuscated mode, since in
  // incremental compiles that information is not available.

along with a TODO to eventually fix the CSSResourceGenerator.

But, if I may ask, what's the problem with non-obfuscated style names?