Thank you for your reply, Jens.

Yes, I think I am putting the image in the same package/location where my 
clientbundle class is. Otherwise, Eclipse shows error.

Regarding ICO, you are right. I thought the same and so just to make sure I 
created a fresh gif and png and tried with those. But it shows the same 
message. I don't know why it says ICOFile in the message ("Can't create 
ICOFile: Can't read bytes: 1") but I am pretty sure that it is not an ico 
file. BTW, the number of bytes in the message seems random. I have seen it 
say Can't read bytes: 2 as well as ICOFile: Can't read bytes: 4.

Another thing is, when I use the same gif and png in style sheet, it works 
fine. i.e. when I set the following style for a label , it shows up fine:

.testStyle{
    background-image: url("rtick.gif");
    background-repeat: no-repeat;
    padding-left: 15px;
    border:none; 
}

Of course, I had to put it in another location for the style, but it 
worked. So the image file itselfs seems to be ok.

Regarding breakpoint, that's a good suggestion but I am not sure how to do 
that because the error is coming at compile time itself!  I get the error 
when I do Google ->GWT Compile. Can you please tell me how to do the 
compilation in debug mode?

thank you.

-- 
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+unsubscr...@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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to