Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?
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 niloc...@gmail.com 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 google-web-toolkit@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.
Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?
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 niloc...@gmail.com 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 google-web-toolkit@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.
Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?
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 tommmuel...@googlemail.com 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 niloc...@gmail.com 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 google-web-toolkit@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.
Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?
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 tommmuel...@googlemail.com 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 tommmuel...@googlemail.com 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 niloc...@gmail.com 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 google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 218.248.6165 niloc...@gmail.com -- 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-toolkit@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.
Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?
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 niloc...@gmail.com 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 tommmuel...@googlemail.com 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 tommmuel...@googlemail.com 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 niloc...@gmail.com 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 google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 218.248.6165 niloc...@gmail.com -- 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-toolkit@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.
Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?
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 tommmuel...@googlemail.com 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 niloc...@gmail.com 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 tommmuel...@googlemail.com 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 tommmuel...@googlemail.com 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 niloc...@gmail.com 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 google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 218.248.6165 niloc...@gmail.com -- 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-toolkit@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.
2 Modules in 1 GWT-App, both starting the onModuleLoad?
Hi, I have a GWT-Project currently containing modules (will be more in the future). To make it tidy I created a containing module called Parent. Parent does not have any source, its just a containing module. This is the Parent.gwt.xml: ?xml version=1.0 encoding=UTF-8? module rename-to='Parent' inherits name='com.google.gwt.user.User' / inherits name='com.google.gwt.widgetideas.GWTCanvas'/inherits inherits name='project.Child1' / inherits name='project.Child2' / /module The two modules with actual code are apparently Child1 and Child2. There .gwt.xml-Files are the following: Child1: ?xml version=1.0 encoding=UTF-8? module rename-to='Child1' inherits name='com.google.gwt.user.User' / inherits name='com.google.gwt.widgetideas.GWTCanvas'/inherits entry-point class='project.client.Child1'/entry-point source path='client'/source source path='generics'/source /module Child2: ?xml version=1.0 encoding=UTF-8? module rename-to='Child2' inherits name='com.google.gwt.user.User' / inherits name='com.google.gwt.widgetideas.GWTCanvas'/inherits entry-point class='project.client.login.Child2' / source path='client.child2'/source source path='generics'/source /module The compilation works fine but I get 3 js-folders in my war-folder. I supposed that I just get one, as Im using a containing class. For both modules exist a .html-file referencing to the .js-file created for it. The problem is that when I open the Child2.html-file it tries to load the onModuleLoad()-method of Child1! which crashes the system, as there are divs missing. What am I doing wrong? Im stuck with this for a week now! Please help. Anything is appreciated! Tom -- 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-toolkit@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.
Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?
From the little information here, it seems that either Child2.html has a script tag loading Child1.nocache.js or Parent.nocache.js Parent serves no purpose in your setup - if it were compiled and run, it would try to start both applications at once. -- 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-toolkit@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.
Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?
Ok. But don't I need some module like parent? If I delete parent I can't compile the project no more. Both .html-files point to the right .nocache.js files! I doublechecked it several times :) Thanks noise On 1 Feb., 23:24, Colin Alworth niloc...@gmail.com wrote: From the little information here, it seems that either Child2.html has a script tag loading Child1.nocache.js or Parent.nocache.js Parent serves no purpose in your setup - if it were compiled and run, it would try to start both applications at once. -- 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-toolkit@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.
Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?
I get this error-message trying to compile after deleting the Parent.gwt.xml: [ERROR] Hint: Previous compiler errors may have made this type unavailable [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly Thanks! On 2 Feb., 00:18, newnoise tommmuel...@googlemail.com wrote: Ok. But don't I need some module like parent? If I delete parent I can't compile the project no more. Both .html-files point to the right .nocache.js files! I doublechecked it several times :) Thanks noise On 1 Feb., 23:24, Colin Alworth niloc...@gmail.com wrote: From the little information here, it seems that either Child2.html has a script tag loading Child1.nocache.js or Parent.nocache.js Parent serves no purpose in your setup - if it were compiled and run, it would try to start both applications at once. -- 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-toolkit@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.
Re: 2 Modules in 1 GWT-App, both starting the onModuleLoad?
[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 google-web-toolkit@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.