I have some problems to access a Class from another Class with different Packages in my GWT Project. My Project Structure looks like this:
++ src/main/java
++ fr.myProj.common.kit
++ myGenClass.java
...
++ fr.myProj.common.kit.gwt.client.ui.widgets
++ myUiClass.java
++ src/main/resources
++ de
++ myProj
++ common
++ kit
++ public
AppWidgetSet.gwt.xml
I call into myUiClass.java an instance of myGenClass.java without problems but when i compile AppWidgetSet.gwt.xml GWT give me an error : No source code is available for type fr.myProj.common.kit.myGenClass; did you forget to inherit a required module?
How can i resolve this issue?
EDIT:
using <inherit name="fr.myProj.common.kit.myGenClass"> dont work either!!
EDIT 2:
and giving fr.myProj.common.kit its own kit.gwt.xml like here shows dont work too…
Since you have changed the default location of gwt module file it will not work as expected.
AppWidgetSet.gwt.xml is under kit and there is no client folder in the same space. You need to explicitly specify your source paths for gwt. In this case move AppWidgetSet.gwt.xml one level up into common and then add source tag for kit folder.
<source path="kit"></source>