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, martinhansen <[email protected]>
wrote:
> Hello Jason,
>
> that did the trick! Thank you very much, it works fine now. Great!
>
> On 20 Jul., 23:43, Jason Parekh <[email protected]> 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 <
>
> > [email protected]> wrote:
>
> > > 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
> > > package "src.com.company.data"
>
> > > What to do?
>
> > > On 20 Jul., 22:29, martinhansen <[email protected]>
> > > wrote:
> > > > 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.
>
> > > > Meanwhile, I tried the "output folder" approach. 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:21, "Donald W. Long" <[email protected]> wrote:
>
> > > > > 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 forprojectsthat
> > > > > will be worked on by many developers at the same time.
>
> > > > > If I am wrong please let me know.
>
> > > > > Thanks
>
> > > > > Donald W. Long ([email protected])
>
> > > > > On Jul 20, 1:34 pm, Jason Parekh <[email protected]> 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 <
>
> > > > > > [email protected]> 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 externalprojects
> > > to
> > > > > > > my GWT project, and all of these 4projectsare 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 <[email protected]> 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 <
> > > [email protected]>
> > > > > > > > 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?- Hide 
> > > > > > > > > quoted
> > > text -
>
> > > > > > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to