I have a GWT 1.7 application and I want to upgrade it to GWT 2 Milestone 2. The application uses 2 big external CSS files. In GWT 1.7 I had a public folder and put both the CSS
Try with @NotStrict
. Example:
@NotStrict
@Source("com/web/tech/public/stylesheet1.css")
public Css stylesheet1();
Got it solved. As pointed out by Thomas@Google Groups --> The @external must not be put "above" the style
http://code.google.com/p/google-web-toolkit/wiki/CssResource#External...
The example from this link, the css will look like :
@external .legacySelectorA, .legacySelectorB;
.obfuscated .legacySelectorA { .... }
.obfuscated .legacySelectorB { .... }
/* @external also accepts tail-globs */
@external .myProject-*;
.myProject-text {}
.myProject-foo {}