The trick is that GWT reads files from the classpath.

Just add another "resources" directory parallel to src and add it to your
classpath. As long as resources follow the same package structure as src,
GWT will be able to find the files.

--Sri



On 29 April 2010 19:40, fharper <frank.har...@gmail.com> wrote:

> I'm using ClientBundle, and it's great. But I want to keep resources
> ( .css, ui.xml, .png, etc.) in a separate directory from the source
> code. Currently I have all the files in the same directory/package
> (i.e. View.java, View.ui.xml, View.css, image.png,...).
>
> Separating code and resources would make it easier to work with a
> graphics designer.
>
> I've been reading the docs and googling left and right, but I haven't
> been able to figure out how to do it.
>
> So, is it possible?
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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

Reply via email to