On 14 août, 15:48, Claudemir  Todo Bom <[email protected]> wrote:
> Is there a way to develop a reusable library side-by-side with another
> project? without using any jars?
>
> for example, i have a GWT in package com.example.application.client
> everything worked on it... then I added a new package to my eclipse
> project, calling it com.example.utils (side question: do I need to put
> client here too?), it didtn't worked... looks like the gwt.xml is all
> fine, but both gwt compiler and host mode refuses to run this way,
> telling that I may forgot to inherit some required module (I did
> placed the <inherit> tag for utils on aplication.gwt.xml)
>
> I want this to avoid the pain to have to package a jar and import it
> on my application everytime I change my utils library. This way I
> should be able to debug and edit both packages together, then, when
> the library is ready, I can export it to a jar. For now, my library is
> a subpackage of application.

On your launch configuration, you'll have to manually add your
imported project's *source* folders to the classpath. The Google
plugin does this automatically for your GWT project, but not for
imported projects.

...or you can add your library's source folder as a linked source
folder in your application project (no need to import the library's
project in your app's project then; and the Google plugin takes care
of your classpath for you)
--~--~---------~--~----~------------~-------~--~----~
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