Thank you very much for your replies.
I have been trying to create a source folder from my shared part of the
project and link it to the project proper, so to speak, as Peter Liu
suggested, but i failed again.
The thing is, apparently, that the .java files in my shared folder get
compiled into .class files within the project folder of the shared stuff.
What i mean is:
if we have a project called "shared" and a folder in the filesystem called
"shared", than we have the "src" and "bin" folders in it. The same apples to
the "project" folder (with the AppEngine project and the project specific
code). I think it is necessary for the stuff in the shared/src/ to compile
into project/bin folder, but it compiles into shared/bin. I tried changing
it, but it is impossible.
And again, Eclipse doesnt show any errors in any of the classes, i.e. it
"sees" all the linked files, but GAE still says it cannot find one of my
abstract classes.
Am i doing something wrong?


2010/6/4 Peter Liu <[email protected]>

> I actually split the project like you. One project as a framework that
> other GAE project uses, and one project for app specific stuff.
> However, at the end, instead of reference, I created a new source
> folder that link to the source folder of the framework. This way the
> app project still think everything is within one project.
>
> You might need to make sure those files are included with JDO enhanced
> paths. I don't use JDO anymore so everything is just straight
> forward .java and .class.
>
> On Jun 3, 4:38 am, Timofey Danshin <[email protected]> wrote:
> > Hi.
> > I've tried to split my AppEngine project in two in Eclipse and reference
> one
> > project from the main one. The project compiles well, but when i try to
> > "Debug it as a web application" it fails with the
> > "java.lang.NoClassDefFoundError". It cant't find the definition of one of
> my
> > abstract classes i put into the secondary project. Is it possible to
> split
> > app engine projects in Eclipse? If it is, how can i do that? I didn't
> find
> > anything about it in the internet.
> >
> > --
> > Best Regards,
> > Timofey.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Best Regards,
Timofey Danshin.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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-appengine?hl=en.

Reply via email to