Works now. Thanks!

On Oct 1, 1:09 pm, "Peter D." <[EMAIL PROTECTED]> wrote:
> The actual syntax is:
>
>         @Resource("com/company/client/control/icons/up.gif")
>         public AbstractImagePrototype upIcon();
>
> There is no need to preceed the annotation name with ImageBundle and
> java annotations cannot be placed within comments.
>
> On Oct 1, 12:39 pm, benw <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi, I recently upgraded to GWT1.5. When I tried changing my image
> > bundles from @gwt.resource to [EMAIL PROTECTED], the compiler
> > started throwing errors:
>
> > [ERROR] No matching image resource was found; any of the following
> > filenames would have matched....
>
> > Here is the change I was trying to make :
>
> >   /**
> >    * @gwt.resource close-black.gif
> >    */
> >   public AbstractImagePrototype closeImage();
>
> >   /**
> >    * [EMAIL PROTECTED]("close-black.gif")
> >    */
> >   public AbstractImagePrototype closeImage();
>
> > What am I doing wrong?
>
> > thanks
> > -Ben- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to