Hello Friends .... I don't understand why it should be so difficult to integrate the GWT with the current application, I have been struggling for few weeks now ( not full time , of course) Definitely ... there should be some help available which I'm not able to find, I'm currently like beating around the bushes to make progress. If anyone knows , please forward me any articles where there is some guideline regarding integrating GWT with the existing project.
Currently I'm desperately stuck at a place where the hosted mode is not able to find <module>.gwt.xml(CASE I below ) or the entry point classes (CASE II below )... don't know why. I'm using eclipse 3.5 (Galileo) 'Run configuration' to build my application which uses GWT 1.7 I'm sorry to be so descriptive but I really want you to understand what I'm doing and to get some help. Following is my folder structure .... Current existing Project :- -src --main ---java ----com -----<package1> ------<package2> New GWT folders in the same above existing project :- -src --main ---java (MyApplication.gwt.xml) ----com -----gwtAppl ------client ------server Build ( Output Folders ) -build --classes ---com ......... My eclipse's 'Run configuration' class-path contains all the gwt-xxx.jars and according to above folder structure, the entries like ... src/main/java/ and I think the source tab also has the path of all the source files =========== CASE I ======================== Log in the hosted mode console .... [INFO] Starting HTTP on port 8081 [TRACE] Starting URL: http://localhost:8081/MyApplication [TRACE] Request 0: http://localhost:8081/MyApplication [TRACE] Request 1: http://localhost:8081/myapplication/ [TRACE] The development shell servlet received a request to generate a host page for module 'myapplication' [TRACE] Request 2: http://localhost:8081/myapplication/myapplication.nocache.js [TRACE] The development shell servlet received a request for 'myapplication.nocache.js' in module 'myapplication.gwt.xml' [TRACE] Request 3: http://localhost:8081/myapplication/hosted.html [TRACE] The development shell servlet received a request for 'hosted.html' in module 'myapplication.gwt.xml' [TRACE] Request 4: http://localhost:8081/myapplication/gwt/standard/standard.css [TRACE] The development shell servlet received a request for 'gwt/standard/standard.css' in module 'myapplication.gwt.xml' [DEBUG] Loading an instance of module 'myapplication' [DEBUG] Refreshing module from source [TRACE] Finding entry point classes [ERROR] Unable to find type 'com.mycompany.client.MyApplication' [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 [ERROR] Failure to load module 'myapplication' According to the log above, it looks like it's not able to load the 'instance' of the module .. 'MyApplication'. =========== CASE II ======================== Keeping all the above configuration same, when I move MyApplication.gwt.xml as below .. -src --main ---java ----com -----gwtAppl (MyApplication.gwt.xml) ------client ------server The the host mode error is as follows ... [INFO] Starting HTTP on port 8081 [TRACE] Starting URL: http://localhost:8081/MyApplication [TRACE] Request 0: http://localhost:8081/MyApplication [TRACE] Loading module 'MyApplication' [ERROR] Unable to find 'MyApplication.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [TRACE] Request 1: http://localhost:8081/MyApplication/ [TRACE] Loading module 'MyApplication' [ERROR] Unable to find 'MyApplication.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [TRACE] The development shell servlet received a request to generate a host page for module 'MyApplication' [TRACE] Loading module 'MyApplication' [ERROR] Unable to find 'MyApplication.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? in this I guess it's not able to find the gwt.xml itself. In this case , inside the 'run configuration' under GWT tab, it shows the this file and the path where it is placed. Please let me know if you need to know anything more .... Thanks a lot for reading this ... Girish -- 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.
