Re: GWT Intigration with existing project .... Hosted mode issues.

2010-01-08 Thread Martín D'Aloia
if you moved the gwt.xml behind your client package you don't need
specify  tag. Try removing it.

On 7 ene, 07:25, Sorinel C  wrote:
> Have you try to set up the dev env right? for this check first 
> this:http://ui-programming.blogspot.com/2009/12/update-your-application-to...
>
> Then, if it's not solving the problem for you do this:
> - create a newGWTprojectin another eclipse workspace
> - verify that the generateprojectstructure is the same like yours.
> - start adding stuff from the oldprojectto the new one by one ...
>
> At the end, you'll get there where you want. Success!
-- 
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-tool...@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: GWT Intigration with existing project .... Hosted mode issues.

2010-01-07 Thread Sorinel C
What I want to say is that: I don''t know if your described project
was created manually and is it working with GWT1.7, and the migration
to GWT 2.0 fails ... that's I did suggest to play with a new simple
project.

Cheers!

-- 
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-tool...@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: GWT Intigration with existing project .... Hosted mode issues.

2010-01-07 Thread Sorinel C
Have you try to set up the dev env right? for this check first this:
http://ui-programming.blogspot.com/2009/12/update-your-application-to-gwt-20.html

Then, if it's not solving the problem for you do this:
- create a new GWT project in another eclipse workspace
- verify that the generate project structure is the same like yours.
- start adding stuff from the old project to the new one by one ...

At the end, you'll get there where you want. Success!
-- 
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-tool...@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: Re: Re: GWT Intigration with existing project .... Hosted mode issues.

2010-01-06 Thread girishrathod
Anyone ? pls help  this should be a small thing for people well  
conversent with GWT. It looks like beginner's problem.


Thanks,
Girish

On 06-Jan-2010 4:11pm, girishrat...@gmail.com wrote:
Further .. I tried to implement your suggession, the class-path entry  
was the missing part which was leading to the previous error in CASE II  
described below.







-src




--main




---java




com




-gwtAppl




(MyApplication.gwt.xml)




--client




--server







I added the source entry of 'client' in gwt.xml.






The Things moved ahead but it gave a different error which I'm not able  
to resolve.







[DEBUG] Loading an instance of module 'myapplication'




[DEBUG] Refreshing module from source




[DEBUG] Validating newly compiled units




[TRACE] Removing units with errors



[ERROR] Errors  
in 'file:/C:/work/day2/drop2B/F226551_Drop2B/../src/main/java/com/gwtAppl/client/GreetingService.java'



[ERROR] Line 1: The declared package "com.gwtAppl.client" does not match  
the expected package "client"



[ERROR] Errors  
in 'file:/C:/work/day2/drop2B/F226551_Drop2B/../src/main/java/com/gwtAppl/client/GreetingServiceAsync.java'



[ERROR] Line 1: The declared package "com.gwtAppl.client" does not match  
the expected package "client"



[ERROR] Errors  
in 'file:/C:/work/day2/drop2B/F226551_Drop2B/../src/main/java/com/gwtAppl/client/MyApplication.java',



[ERROR] Line 1: The declared package "com.gwtAppl.client" does not match  
the expected package "client"







Please suggest.







Thanks a lot,




Girish










On 06-Jan-2010 10:07am, Girish Rathod girishrat...@gmail.com> wrote:




> Thanks for your reply Jason,



> But this is exactly what I did in CASE II where it was not able to find  
the .gwt.xml itself. Here is the extract of my previous mail 




>




>




>




> === 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 suggest 




>




>




> Thanks,




> Girish




>




>



> On Tue, Jan 5, 2010 at 9:17 PM, Jason Essington  
jas...@greenrivercomputing.com> wrote:




>




>



> if the location of your gwt.xml file isn't at the same level as your  
client package then you need to add a tag to tell it where the client  
directory is. That's the likely reason it can't find your entry point  
class.




>




>




>



> so probably the simplest thing to do would be to move the gwt.xml file  
to src/main/java/com/gwtAppl/MyApplication.gwt.xml




>




>




>




> -jason




>




>




>




>




>




>




>




>




>




>




>




>




> On Jan 5, 2010, at 5:19 AM, girishrat...@gmail.com wrote:




>




>




>




>




>




>




> 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.




>




>




>




>




>




>




>





Re: Re: GWT Intigration with existing project .... Hosted mode issues.

2010-01-06 Thread girishrathod
Further .. I tried to implement your suggession, the class-path entry  
was the missing part which was leading to the previous error in CASE II  
described below.


-src
--main
---java
com
-gwtAppl
(MyApplication.gwt.xml)
--client
--server

I added the source entry of 'client' in gwt.xml.

The Things moved ahead but it gave a different error which I'm not able to  
resolve.


[DEBUG] Loading an instance of module 'myapplication'
[DEBUG] Refreshing module from source
[DEBUG] Validating newly compiled units
[TRACE] Removing units with errors
[ERROR] Errors  
in 'file:/C:/work/day2/drop2B/F226551_Drop2B/../src/main/java/com/gwtAppl/client/GreetingService.java'
[ERROR] Line 1: The declared package "com.gwtAppl.client" does not match  
the expected package "client"
[ERROR] Errors  
in 'file:/C:/work/day2/drop2B/F226551_Drop2B/../src/main/java/com/gwtAppl/client/GreetingServiceAsync.java'
[ERROR] Line 1: The declared package "com.gwtAppl.client" does not match  
the expected package "client"
[ERROR] Errors  
in 'file:/C:/work/day2/drop2B/F226551_Drop2B/../src/main/java/com/gwtAppl/client/MyApplication.java',
[ERROR] Line 1: The declared package "com.gwtAppl.client" does not match  
the expected package "client"


Please suggest.

Thanks a lot,
Girish


On 06-Jan-2010 10:07am, Girish Rathod  wrote:

Thanks for your reply Jason,
But this is exactly what I did in CASE II where it was not able to find  
the .gwt.xml itself. Here is the extract of my previous mail 





=== 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 suggest 




Thanks,
Girish



On Tue, Jan 5, 2010 at 9:17 PM, Jason Essington  
jas...@greenrivercomputing.com> wrote:



if the location of your gwt.xml file isn't at the same level as your  
client package then you need to add a tag to tell it where the client  
directory is. That's the likely reason it can't find your entry point  
class.




so probably the simplest thing to do would be to move the gwt.xml file to  
src/main/java/com/gwtAppl/MyApplication.gwt.xml





-jason














On Jan 5, 2010, at 5:19 AM, girishrat...@gmail.com wrote:








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 .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




-




--










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/

Re: GWT Intigration with existing project .... Hosted mode issues.

2010-01-05 Thread Girish Rathod
Thanks for your reply Jason,
 But this is exactly what I did in
CASE II where it was not able to find the  .gwt.xml  itself. Here is
the extract of my previous mail 

=== 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 suggest 


Thanks,
Girish


On Tue, Jan 5, 2010 at 9:17 PM, Jason Essington <
jas...@greenrivercomputing.com> wrote:

> if the location of your gwt.xml file isn't at the same level as your client
> package then you need to add a  tag to tell it where the client
> directory is. That's the likely reason it can't find your entry point class.
>
> so probably the simplest thing to do would be to move the gwt.xml file to
> src/main/java/com/gwtAppl/MyApplication.gwt.xml
>
> -jason
>
> On Jan 5, 2010, at 5:19 AM, girishrat...@gmail.com wrote:
>
> 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 .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
> -
> --
>
>
> 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 s

Re: GWT Intigration with existing project .... Hosted mode issues.

2010-01-05 Thread Jason Essington
if the location of your gwt.xml file isn't at the same level as your client 
package then you need to add a  tag to tell it where the client 
directory is. That's the likely reason it can't find your entry point class.

so probably the simplest thing to do would be to move the gwt.xml file to 
src/main/java/com/gwtAppl/MyApplication.gwt.xml

-jason

On Jan 5, 2010, at 5:19 AM, girishrat...@gmail.com wrote:

> 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 .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 
> - 
> -- 
> 
> 
> 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 thi