Hi
 The java *source* folder must be added to the classpath.
HIH

On Tue, Dec 29, 2009 at 1:09 PM, Matt <matt.seab...@gmail.com> wrote:

> I have the situation where the POJOs which are used within the
> EntryPoint (i.e. compiled to Javascript) are located in another
> Eclipse project.
>
> If I configure the GWT project to refer to the other project the Java
> compiles okay, but when attempting to compile to Javascript it
> complains "No source code is available for ...".
>
> How do you get GWT to recognise the externally located source without
> compiling the lot into the webapp?
>
>
> On Dec 11, 5:28 pm, Rajeev Dayal <rda...@google.com> wrote:
> > This is a general problem with having your GWT or App Engine project
> depend
> > on another project that ultimately contributes artifacts to the
> > war/WEB-INF/lib folder. We're going to address this in a future version
> of
> > the plugin.
> >
> > Even though this appears to work in GWT, you'll still have to revert to
> the
> > clunky technique (exporting the files from the parent project and copying
> > them into the war/WEB-INF/lib folder of the child project) when you
> perform
> > a deployment; the Google Plugin for Eclipse will not automatically do
> this
> > for you.
> >
> >
> >
> > On Fri, Dec 11, 2009 at 7:09 AM, Graham <graham.mor...@gmail.com> wrote:
> > > This seems to be related to the AppEngine, which I don't need. Problem
> > > solved!
> >
> > > On Dec 11, 11:51 am, Graham <graham.mor...@gmail.com> wrote:
> > > > Sorry, just to clarify - I am referring specifically to development
> > > > mode.
> >
> > > > On Dec 11, 11:49 am, Graham <graham.mor...@gmail.com> wrote:
> >
> > > > > I've successfully upgraded to GWT 2.0 using the GWT Eclipse Plugin.
> > > > > All seems well, with one exception. I write all of my servlets in a
> > > > > seperate project, which worked under well under 1.* by simply
> adding
> > > > > the project to the build path.
> >
> > > > > Unfortunately after moving to GWT 2.0 the project is being ignored
> at
> > > > > run time, and the servlets are not found (although the project
> appears
> > > > > in the "Classpath" tab in my run configuration). Is there anyway to
> > > > > specify other projects to be included in the classpath?
> >
> > > > > If I export my servlets to a JAR file and drop them into the
> WEB-INF/
> > > > > lib directory it works, but it is a bit clunky, especially as the
> > > > > servlets are modified frequently!
> >
> > > --
> >
> > > 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-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> <google-web-toolkit%2bunsubs­cr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.- 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 google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>


-- 
A coward is incapable of exhibiting love; it is the prerogative of the
brave.
--
Mohandas Gandhi

--

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-tool...@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.


Reply via email to