Hi, There are a few workarounds for your problems.. Longer term, we're hoping to improve the current issues with dependent projects.
Issue #1: You'll likely have to separate your backend project into a backend project and a shared project. See http://code.google.com/p/gwt-client-server-dev-env/ for an example layout (note these guys use an ant script to build. See below on linked source folders to still be able to build within Eclipse). Issue #2: You'll need to include the source into the JAR. I'm not sure how to do this in Eclipse, hopefully there's an option. Alternatively, in the GWT project, you can have a linked source folder that points to your shared project. Hope this helps, jason On Mon, Feb 22, 2010 at 6:47 AM, tk <[email protected]> wrote: > Hi, > > I am running into a variety of issues trying to develop a gwt gui > prototype using an existing spring project as the backend. The spring > project is compiled to a jar file. I would like to have the following > structure if possible: > > 1. myproject_backend_services --> compiled to a jar > 2. myproject_gwt_gui --> a web project that can be launched in hosted > mode that uses and the consumes some objects returned from the first > project > > Issue 1: > Log4j error about FileOutPutStream is not allowed. I have turned this > off for now as it can wait. > > Issue 2: > Cannot find source for my object that is returned by a remote service. > How do I link the gwt gui project and the backend servics project > (java jar) at runtime in hosted mode ? This is driving me around the > bent at the moment. Is there not a project I can use as a template to > see how this needs to hang together ? > > I am using eclipse 3.4, java 1.6 and the latest google plugin for > eclipse. Any help much obliged. > > -- > 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]<google-web-toolkit%[email protected]> > . > 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 [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.
