I tried to change the default output folder of "DataProject", but I didn't manage successfully. Eclipse says: Path '/GwtApp/src' must denote location inside project 'DataProject'. Am I heading the wrong way there?
On 20 Jul., 22:16, martinhansen <martin.hanse...@googlemail.com> wrote: > Hello Jason, > > thanks for your interesting hints. I tried the Google App Engine > first, but to no avail. I tried to convert my project to use the > Google App Engine, but then I got some errors referring to missing XML > files. > The second approach sounds also interesting, but I need a little hint > there. Where exactly do I have to set the output folder to? > > Let's say, I have two Projects: > > GwtApp > --src > ----com.company.gwtapp > ------GwtApp.java > > DataProject > --src > ----com.company.data > ------Employee.java > > And I want Employee.java to be available in my Gwt App, what do I have > to do? In Eclipse, "Configure build path" on DataProject, then > "source", then change "default output folder"? If so, to what value > should I change it to? > > On 20 Jul., 20:34, Jason Parekh <jasonpar...@gmail.com> wrote: > > > Hi Martin, > > You may try using the link source option, as suggested by the thread > > athttp://groups.google.com/group/google-appengine-java/browse_thread/th.... > > If that doesn't work, you could set the output directory of your > > dependencies to be the GWT output folder. > > > jason > > > On Mon, Jul 20, 2009 at 12:14 PM, martinhansen < > > > martin.hanse...@googlemail.com> wrote: > > > > Hello Sean, > > > > thank you very much. I've thought of that solution too, but it is not > > > appropriate for my GWT project. I have to add 4 external projects to > > > my GWT project, and all of these 4 projects are subject to change > > > every day. It would be too much work to export them to a jar file > > > every day. Is there some way to automatically add the external project > > > sources to the GWT output folder? > > > > On 20 Jul., 18:03, Sean <slough...@gmail.com> wrote: > > > > You can export the non-GWT java files into a jar and drop those in the > > > > WEB-INF/lib folder. That's what I do. > > > > > On Jul 20, 11:44 am, martinhansen <martin.hanse...@googlemail.com> > > > > wrote: > > > > > > Hello, > > > > > > my GWT server-side code needs an external java project. I have added > > > > > the project under "Configure build path / Projects". It works fine in > > > > > hosted mode. But when I deploy my application on a server, I get lots > > > > > of ClassNotFoundExceptions. Obviously, GWT cannot find the external > > > > > java code. When I look at the war\WEB-INF\classes folder, I see that > > > > > the external java classes have not been included. > > > > > > How can I get GWT to include the external classes? --~--~---------~--~----~------------~-------~--~----~ 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-Toolkit@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 -~----------~----~----~----~------~----~------~--~---