Monday, August 26, 2013

Inheriting a required module [Error] - Trying to get an understanding

I have a GWT project where I created a folder named common for shared tasks. I tried a simple public static void testme() method doing a system out print line to see if it fires. 

When running I getting: 

[ERROR] [org.dash.board.Main] - Line 40: No source code is available for type org.dash.board.common.OutterClass; did you forget to inherit a required module?

I added to the gwt.xml:

<inherits name="org.dash.board"/> 

resulting in 
[ERROR] Unable to find 'org/dash/board.gwt.xml'

Only when I add the below does the system out print line fire. I guess my question is why does the compiler complain about inheritance when the fix is not inheriting anything? 

  <source path='client'/>
  <source path='common'/>


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

No comments:

Post a Comment