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


On Apr 7, 5:25 pm, TimOnGmail <[email protected]> wrote:
> Hi all...
>
> I've looked around here, and didn't find this specific question asked
> (although I'm sure it has been).
>
> I have created a module, and have a bunch of bean classes residing
> elsewhere.  These bean classes are all Serializable (since I transfer
> them between several servers already), and I want to use them in my
> module.  However, I don't want to have to turn these other libraries
> INTO modules just to use these bean classes.
>
> Is this even possible in GWT?
>
> - Tim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to