Tuesday, March 29, 2011

where to put my Module.css file

most GWT doc says, I should put it in the public dir:
e.g. src/main/java/com/mydomain/prj/public/Module.css
the module file would be here:
src/main/java/com/mydomain/prj/Module.gwt.xml

but now when I want to use this in a ClientBundle, say in:
src/main/java/com/mydomain/prj/client/HtmlResources.java
the relative path gives me an errormarker (in eclipse):
@Source("../public/Dsm.css")
Style style();
"Resource file Dsm.css is missing (expected at ../public)"

what is wrong here?
where should the css file be stored instead?

TIA, martin

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment