I think you can achieve this by using GWT's <super-source> mechanism:
http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModuleXml On Fri, Feb 19, 2010 at 2:48 PM, Tim K <timk...@gmail.com> wrote: > I have a server version of a class in one jar, and a client version of > the class in another. The client version is restricted to JRE > emulation, while the server version can use the entire JRE. Can the > google plug-in for eclipse be configured to use the server jar for the > server code and the client jar for the client code? > > *** Server jar *** > class X { > X() { ... } > X( File directory ) { ..... } > ... > > *** Client jar *** > class X { > X() { ... } > // Can't access a file on client side, so disable this constructor > // X( File directory ) { ..... } > ... > > Regards, > Tim K > > -- > 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-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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-tool...@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.