I found some discussions of this here, but the answer always seems to
be "you can't" (unless you make them part of a module, with a common
parent, etc. etc., which I do not want to do).
Basically, I have this Eclipse project structure:
1. src/com/mycompany/domain/... (serializable domain objects)
2. gwt/[recommended structure]
I want the serializable domain objects in #1 available to the module
in #2, WITHOUT HAVING TO MAKE #1 A MODULE.
Seems like it should be doable, doesn't it? But from what I've read
here, it can't be done.
I also tried putting everything in #2 into the top level src/
hierarchy, and put all the module support files in the top level of
the project, but I couldn't get it work that way, either.
So... as of today, is it at all possible to have 2 separate source
hierarchies, 1 of which contains a GWT module, the other of which
contains simple serializable beans, and have the module be aware of
the other classes? I mean, they are there, they are serializable, the
source is available - why wouldn't it be possible to point the GWT
module to any arbitrary place where there are classes that can be
used? Seems weird.
Failing that, is it possible to have a standard Eclipse project
format, like the above, with the GWT module classes embedded in the
src/ hierarchy? If so, how would you set up the module file, etc.?
- Tim