Wednesday, August 7, 2013

Debug in Custom project structure

Hello,

I'm trying to debug GWT application which has custom structure. I've hit a couple of issues even when I followed a couple of suggestions in one of the group post.

1. I have had classpath issue to find the .gwt.xml file. I went to the runconfig > classpath >'set the com.something.big.path.gwt' as the class path folder. 
2. When I set that, i've started having another problem, 'The declared package does not match the expected package "client". 
3. I assumed that *.gwt.xml file has the <source tag pointing to a wrong folder, so, pointed to a absolute path of the client folder com.something.big.path.gwt.client

changed <source path='client'/> to <source path='com.something.big.path.gwt.client'/>

Now I get compilation errors. Unable to find type  com.something.big.path.gwt.client.App (this is the entry point mentioned in the .gwt.xml file)

I've done a lot of research, i've found a few topics, but they did not help me much. 

Project structure is as below

App.gwt.xml file is under

 com.something.big.path.gwt

client files are under 
 com.something.big.path.gwt.client

Run configuration
classpath - pointing to 
App/src
com.something.big.path.gwt

compiler args
-noserver  com.something.big.path.gwt.client http;//localhost:9081/App/

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate