switching from @gwt.resource to [EMAIL PROTECTED] makes it stop working

2008-10-01 Thread benw
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 :

Re: switching from @gwt.resource to [EMAIL PROTECTED] makes it stop working

2008-10-01 Thread Peter D.
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]

Re: switching from @gwt.resource to [EMAIL PROTECTED] makes it stop working

2008-10-01 Thread benw
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