Thanks, That's just what I wanted to hear.
On 11 Aug., 17:32, Sean <[email protected]> wrote: > I had problems with this too. > > Regular images, that are NOT in an Image Bundle can go in your war > file. I typically keep a WAR/images folder and drop everything in > there. Then a reference to them would be Image test = new Image(images/ > test.png); if the image file is WAR/images/test.png > > ImageBundle pictures have to be kept in the code files. It's kind of > confusing, but essentially these pictures get compiled using the code > and put into one single image. They will be kept somewhere in (typical > folder structure) com/client/[AppName]/... > > An example from the API: > > �...@resource("com/client/myapp/icons/btn_cancel_icon.png") > public AbstractImagePrototype cancelButtonIcon(); > > Hope this helps. > > On Aug 10, 5:55 am, denis56 <[email protected]> wrote: > > > > > His, > > > In GWT 1.5 one needed to put images under public directory, with gwt > > 1.6/1.7 the recommended location is somewhere under your war > > directory. I use normal images as well as ImageBundle in my project. > > Could someone please clarify where image bundles are supposed to go > > now - stay under public directory or go together with other non- > > imagebundle files out to war? > > > Thannks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
