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. Both Server and Client 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 -~----------~----~----~----~------~----~------~--~---
