Thursday, April 26, 2012

Re: where to place css file and image file?

According to the developer guide
https://developers.google.com/web-toolkit/doc/latest/DevGuideOrganizingProjects#DevGuideDirectoriesPackageConventions

Standard Directory and Package Layout

In the war directory, place any static resources (such as the host page, style sheets, or images).
I follow this structure, but then how to refer the image in Resources file in client package?
@Source("../../../war/Images/xxx.png)
prompt Resource file xxx.png is missing!!
and also how to refer the css?

On Thursday, April 26, 2012 11:17:52 AM UTC+8, tong123123 wrote:
Currently, I place css file under war directory and images file under war/images directory.
but if I want to use ClientBundle, seems these file need place under src directory? if yes, how to modify the build.xml?

--
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/-/TVlj98XsOv8J.
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