So thanks to Colin this is solved. The problem was that I seperated my services into a package called "project.services". all modules are referencing this sources. but one of the services was referring to class of "client.child1". so when the xml contained <source path='client.child2'></source> it couldnt find the sources for that single class ...
Maybe this helps anyone. Tom On 2 Feb., 19:18, newnoise <[email protected]> wrote: > Yeah that were just typos while "removing details" from my code ... > BUT > > I got it working. Not completely satisfying though, but a first > step :) > I can compile and run both modules when I change the following in > Child2.gwt.xml: > the path: <source path='client.child2'></source> > to: <source path='client'></source> > > If I do that I can compile and run and it works fine, but I produce a > lot more js-code than necessary. Maybe you have one last idea why it's > not working? > > Thanks you so much for helping me! > Tom > > On 2 Feb., 18:02, Colin Alworth <[email protected]> wrote: > > > If I am understanding you right, Child2 is failing because it cannot find > > the Child1 entrypoint - that should be a red flag that something is setup > > wrong. Somehow your Child2 entry point is referring to the Child1 entrypoint > > - perhaps are you extending it, or referring to static members in it? > > Somehow the compiler believes you need the Child1 class to create the Child2 > > project, and that is causing this error. It is probably also what was > > causing your earlier issues, as Child2 was running the Child1 entrypoint. > > > I am sure it is just the process of removing details from your code, but in > > your error message you reference "project.client.child1.Child1", while your > > entrypoints are named "project.client.Child1" and > > "project.client.child2.Child2" – do you really have two different classes > > named Child1, or is it possible that there is some mixed dependency here? > > > -Colin > > > On Wed, Feb 2, 2011 at 5:39 AM, newnoise <[email protected]> wrote: > > > I can acutally compile child1 without any problems. Its just child2 > > > that messes up. And I really don't know why. I had this as an isolated > > > project before and it worked fine. Then I moved it into the main- > > > project and no I can't compile it no more. This is freakin me out. > > > Seriously! > > > > Tom > > > > On 2 Feb., 10:31, newnoise <[email protected]> wrote: > > > > Ah sorry my mistake, the error is: > > > > Finding entry point classes > > > > [ERROR] Unable to find type 'project.client.child1.Child1' > > > > > I checked it like 9 times, the "path" is right. > > > > > I'm not trying to compile the Parent-Module anymore but the two > > > > modules in the project. I can't find any page describing the correct- > > > > architecture for a project containing several modules. > > > > > I really appreciate your help! If I can specify anything with more > > > > information please let me know! > > > > Tom > > > > > On 2 Feb., 00:27, Colin Alworth <[email protected]> wrote: > > > > > > > [ERROR] Hint: Previous compiler errors may have made this > > > > > > type unavailable > > > > > Which type? Which error? If you are missing code in your Child1/2 > > > projects > > > > > that disappears only when the Parent module is missing, something is > > > not set > > > > > up correctly, or perhaps you are still attempting to compile the > > > new-deleted > > > > > module? > > > > > > If a module with an entry-point inherits another module with another > > > > > entry-point, the finished product will run both entry-points. That is > > > what > > > > > your original post seemed to indicate, though I still don't see how. > > > This > > > > > compiler error seems to suggest that there is some other mixed up > > > > > dependency. > > > > > > -Colin > > > > -- > > > 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%[email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- > > 218.248.6165 > > [email protected] -- 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.
