I've been trying to create a gwt-lib that contains some static web resources (fonts, css, ...) to be used in depending projects.Where should I place these files? They used to be in the "public" directory on the same level as client/server/shared in the old days when there way just a single project layout.I'd like to find them in the resulting war when declaring the library as a dependency.Is this still possible or do I have to replicate the static web resources in each project that requires the gwt-lib?
You can still do the same I guess. Your gwt-lib module should contain a GWT module (*.gwt.xml) and you can place resources into the public folder of that GWT module. The GWT compiler / SuperDevMode should pick that up and copy the resources to the GWT compile output folder once you have inherited your gwt-lib GWT module in other apps.
-- J.
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment