I've tried searching but couldn't come up with a defined way on how to add your own packages to a GWT project.
My tree structure looks like this:
-com.mycompany
-public
MyApplication.html
MyApplication.gwt.xml
-com.mycompany.client
MyApp.java
-com.mycompany.gui
TableLayout.java
The answer I've seen out there says to add the packages relative to the root directory of the gwt.xml file, like so:
<module>
<inherits name="com.google.gwt.user.User" />
<entry-point class="com.mycompany.client.MyApp" />
<source path="client" />
<source path="gui" />
</module>
It then complains:
Unable to find type 'com.technicon.client.MyApp'
Hint: Previous compiler errors may have made this type unavailable
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
Can anyone tell me what I'm doing wrong and how to fix this?