My program is broken into several submodules (the main program, a
widgets library, a login module, etc.). Each of these is it's own GWT
module, which runs standalone for testing purposes. (Each of the
submodules has two version of the ...gwt.xml Module-definition file,
one with an entry point for standalone testing, and one without an
entry point, which is inherited from the main-application module
file.)  I do not want to package the submodules into separate jars for
several reasons, including the annoyance of remaking the jar every
time I make a change to the submodule code.

In Eclipse:  I've both added the projects for the submodules to the
main-program eclipse project, and also linked the submodule sources to
the main project so that the GWT compiler can find them.

All this works perfectly, EXCEPT for one problem: The contents of the
subproject's .../war directory  (.css files, for example) are not
visible to the main project when I try to run it. I don't want to make
physical copies of these subproject resources in the main project war
directory --- I just want them to be imported from the subproject war
directory into the main project war directory automatically as part of
the compile process. If I jar up the submodules, the resources are
visible, but if I run things directly from Eclipse, they aren't.

So, my question is:  without making jars of the submodules, is it
possible to make submodule resources available to the main project?
I've tried adding <public...> elements to the main-project gwt.xml
file, but that doesn't seem to work (or I've used the wrong syntax for
the path).  Help is appreciated.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to