Is there a specific way to do this?

Using the GWT projetct's  'Properties' dialog I removed the referenced
project from the 'Projects' tab and added the class folder in the
'Libraries' tab, then identified its source folder.

I can navigate to the source via the 'Referenced Libraries' of the GWT
app, but a GWT compilation still results in "No source code is
available for type ..."

On Dec 29, 12:55 pm, olivier nouguier <[email protected]>
wrote:
> Hi
>  The java *source* folder must be added to the classpath.
> HIH
>
>
>
>
>
> On Tue, Dec 29, 2009 at 1:09 PM, Matt <[email protected]> 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 <[email protected]> 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 <[email protected]> wrote:
> > > > This seems to be related to the AppEngine, which I don't need. Problem
> > > > solved!
>
> > > > On Dec 11, 11:51 am, Graham <[email protected]> wrote:
> > > > > Sorry, just to clarify - I am referring specifically to development
> > > > > mode.
>
> > > > > On Dec 11, 11:49 am, Graham <[email protected]> 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
> > [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<google-web-toolkit%2bunsubs­[email protected]>
> > <google-web-toolkit%2bunsubs­[email protected]>
> > > > .
> > > > 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 [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-web-toolkit%2bunsubs­[email protected]>
> > .
> > 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- 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