There's no public folder as far as I'm aware - that's what the war directory is for. Images go in the same directory as your ImageBundle class.
On Wed, Apr 22, 2009 at 2:51 PM, Sunil <suba...@gmail.com> wrote: > > I created a package hierarchy in the public folder which matches the > package for the ImageBundle definition. The compiler gave me [ERROR] > No matching image resource was found. It gave me the filenames that > would have matched, and I have the files under the exact same matching > path in the public directory. If I moved the images to the same source > folder as the ImageBundle definition source, it works. > > Thanks > Sunil. > > On Apr 22, 11:37 am, Salvador Diaz <diaz.salva...@gmail.com> wrote: > > They have to be in the public directory. > > Read the second bullet point in the "New Project Structure" section > > here: > http://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html#NewFe... > > > > And for more information on ImageBundles: > http://code.google.com/webtoolkit/doc/1.6/DevGuideUserInterface.html#... > > > > On Apr 22, 5:28 pm, Sunil <suba...@gmail.com> wrote: > > > > > In GWT 1.6, where do you put the image files for the ImageBundle in > > > the new war structure? I tried to put it in a subdirectory called > > > images in the war directory, and set the @Resource annotation value to > > > "images/...". That did not work. Do I need to create a subdirectory > > > with the module name under the war directory? > > > > > Thanks > > > Sunil. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---