Problem with ClientBundle image resources in development mode.

16 views
Skip to first unread message

Arkady

unread,
Jan 6, 2010, 9:35:09 PM1/6/10
to Google Web Toolkit
Hello,

I am having the following problem with ClientBundle. Since I am using
external web server (IIS), each time I add new image resources to the
ClientBundle, I recompile using ant build target and copy all
generated <md5>.cache.png files to the web server. After I added
several image resources with repeatStyle == Horizontal, which are used
in the @sprite definitions inside the css file, when I run the app in
the development mode I don't see the background images because the
composite <md5>.cache.png image, corresponding to those background
images, fails to load returning error 404. If I copy to the web server
the <md5>.cache.html files as well and run the application directly
from the web server (production mode) everything works fine. I suspect
that the <md5> name for the composite image generated by the gwtc is
different from the name that the development mode puts in the injected
css.

Is this a known issue with development mode in GWT 2.0?

Best regards,

Arkady.

Thomas Broyer

unread,
Jan 7, 2010, 4:29:04 AM1/7/10
to Google Web Toolkit

You can also just use any browser other than IE6 or IE7, as they
support data: URIs so they don't have to load any *.cache.png file ;-)

Arkady

unread,
Jan 8, 2010, 3:20:35 PM1/8/10
to Google Web Toolkit
Right, but I specifically turned the data URIs off (with
ClientBundle.enableInlining = false) because I was getting issues with
sprites in IE. So in order to debug them in Firefox in development
mode I need it to work.

> support data: URIs so they don't have to load any *.cache.png file ;-)- Hide quoted text -
>
> - Show quoted text -

Reply all
Reply to author
Forward
0 new messages