You guys are both right, you can put them in either place. It's often easier to do what Brian says and use "public" in your source, like a regular GWT project does, but you can use resources if you want to be a maven purist too. It's more complicated to use resources because then you have to tell your GWT module about a different public path, etc, but it can be done.
The doc examples/samples use the src/main approach (just public in your source): http://gwt-maven.googlecode.com/svn/trunk/maven-googlewebtoolkit2-plugin/simplesample/. On Jan 29, 10:55 am, Farrukh Najmi <[email protected]> wrote: > I am wondering where to put image files in project tree when using gwt- > maven. > Normally in maven one would put images under src/main/resources tree > somewhere. > > Also how would the image be referenced in GWT code. > > Thanks for any guidance and simple code samples. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "gwt-maven" 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/gwt-maven?hl=en -~----------~----~----~----~------~----~------~--~---
