Re: Add external java project to GWT project in Eclipse

2009-07-29 Thread martinhansen
Hello Brandon, I used the link source function in eclipse. I added all the projects this way. What exactly is your problem? Do you get any error message? What did you do to add the projects? On 29 Jul., 06:34, branflake2267 branflake2...@gmail.com wrote: Hi Martin, On including more than

Re: Add external java project to GWT project in Eclipse

2009-07-28 Thread branflake2267
Hi Martin, On including more than one project source into your gwt project, can you tell me what you did to get two projects to work together in GWT. I have been trying over and over to combine two projects up for some time, and have not been able to do it. Thanks, Brandon On Jul 21, 3:16 am,

Re: Add external java project to GWT project in Eclipse

2009-07-21 Thread martinhansen
Hello Jason, that did the trick! Thank you very much, it works fine now. Great! On 20 Jul., 23:43, Jason Parekh jasonpar...@gmail.com wrote: Hi Martin, For the Linked folder location, ensure you have the trailing src included. jason On Mon, Jul 20, 2009 at 4:35 PM, martinhansen

Add external java project to GWT project in Eclipse

2009-07-20 Thread martinhansen
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.

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread Sean
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

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread martinhansen
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

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread Jason Parekh
Hi Martin, You may try using the link source option, as suggested by the thread at http://groups.google.com/group/google-appengine-java/browse_thread/thread/1908b3bedf954b75/ca0370ae3ae5a394?lnk=raot. If that doesn't work, you could set the output directory of your dependencies to be the GWT

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread Donald W. Long
I looked at the linked source method and you have to have the linked source fully qualified. Thats nice if you always have your source in the same place. You could try using the linked variables but then thats also work. Do not see this as a real option for projects that will be worked on by

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread martinhansen
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

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread martinhansen
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,

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread martinhansen
Hello Donald, I already tried the Google App Engine approach, but it didn't work for me. And GAE adds a lot of stuff I don't need to my project. I really don't want to mess around with it, since I managed to kill my GWT app's configuration several times and I had to create a new project.

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread martinhansen
Now I tried the link source function without Google App Engine. At first, it seems to work, and the project is added to my main project. The only problem is: The package declarations produce errors. Eclipse shows an error message: The declared package com.company.data does not match the expected

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread Jason Parekh
Hi Martin, For the Linked folder location, ensure you have the trailing src included. jason On Mon, Jul 20, 2009 at 4:35 PM, martinhansen martin.hanse...@googlemail.com wrote: Now I tried the link source function without Google App Engine. At first, it seems to work, and the project is