Friday, March 6, 2015

Re: It should be registered via or entry in your .gwt.xml ?

I just noticed that I made a really stupid mistake. 
The jpg file it was looking for was "quickcheck.jpg" and the one present is "quickCheck.jpg" (with Capital "C").
So the original code:

@Source("quickcheck.jpg")
ImageResource quickCheck();

I just noticed this isn't the same as the code that I posted above, which surprised me. No idea why, maybe wrong copy/paste during changing or typed it wrong, can't remember.

Only the gwt error in the console is a bit misleading (and that it could find the file anyway, on a Mac).
Thanks for the help, sorry for the stupid mistake (after correcting the file name, the error message disappeared).

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment