OK, I looked at "gwt-dispatch" and they don't have any project
separation - just classpath separation (please correct me if i'm
wrong). and that's not enough for what I want.

What i'll do is take the greeting example and separate it into 3
project. I'll publish the projects (with the eclipse's project files)
and it would be great if you could give me some feedback on it.
I'll post another reply as soon as I have it done.

If someone already knows of a simple "3 projects source layout" -
please provide a link.

-Alik


On Sep 26, 6:40 pm, kilaka <[email protected]> wrote:
> Hey all,
> First of all - thanks for the quick reply.
> Second of all, I would have posted this earlier, but I didn't know
> that the moderators created the post - all I got was a copy of the
> mail sent to the moderators.
>
> Regarding adding dependencies - I did it. BothServerandClient
> depend on Shared - didn't work.
>
> I also added the shared sources to the classpath (in build.xml) and
> didn't work.
>
> Dave, I tried using the module concept but didn't succeed.
> I'll try it again the same way as gwt-dispatch do it - as pj
> suggested.
>
> I'll add another reply as soon as I have something.
>
> -Alik
>
> On Sep 23, 10:56 am, kilaka <[email protected]> wrote:
>
> > Hi all,
>
> > GWT enables. among other things, the use of the same classes inclient
> > andservercode.Clientcode is compiled to JavaScript andservercode to Java 
> > byte-
> > code.
>
> > My problem is:
> > If a GWT application is developed in one eclipse project - bothclient
> > andserver,clientcode can directly invokeservercode and vice versa.
> > The recommendation to help from making such a mistake is to use a
> > package convention:
> > - com.same.clientforclientcode and
> > - com.sample.serverforservercode
>
> > This is not sufficient enough, for such mistake may still happen -
> > especially when the eclipse adds imports automatically to the head of
> > file in the imports section which is folded by default, causing you
> > not to notice the package name.
>
> > Also, there are classes that are shared by both theserverand theclient, 
> > like the Greetings interface(clientuses andserver
> > implements). Where does it goes?
>
> > I tried creating a working development environment with 3 projects:
> > -Client
> > -Server
> > - Shared
>
> > It was very complicated and needed a symbolic link from Shared toclient- 
> > for the compilation to JavaScript.
>
> > Does anyone feels the need as I am?
> > Did anyone create such a "hello world" development environment?
>
> > Thanks,
> >  Alik.
--~--~---------~--~----~------------~-------~--~----~
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