For CssResource and ImageResource users, I find this the most robust way to 
place these files:

*com.myPackage.moduleA.resources (put resource interfaces here)
*com.myPackage.moduleA.resources.images (put image files here)
*com.myPackage.moduleA.resources.css (put css files here) 

The real payoff here is that:

   1. Each module is self contained with all its css/images. Try pulling a 
   module's resources of out a public folder shared by 10 modules.
   2. You can more easily use this module in a different GWT project.
   3. Since you're not using a public folder, only the used 
   selectors/images get compiled into your output war. Saves a lot of 
   time/bytes.

You might ask "What images used in multiple modules?" In our apps we have a 
"common" module with these parts.

Hope that helps.


Sincerely,
Joseph

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/A6YyVptQ1kYJ.
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