Modules have a default source path, which behaves sort of like a
default constructor. When you specify a new source path, it removes
the default one (like a default constructor). You need to specify your
"gui" path and also redeclare the default, which was superseded by
yours:

<source path="gui" />
<source path="client" />


On Tue, Jan 13, 2009 at 1:34 PM, ProtoLD <[email protected]> wrote:
>
> I know this a common question, but I've tried the answers I found
> without avail.
>
> I have a tree structure like so:
>
> -com.mycompany
>  -public
>    MyApplication.html
>  MyApplication.gwt.xml
>
>
> -com.mycompany.client
>  MyApp.java
>
> -com.mycompany.gui
>  TableLayout.java
>
> I tried this:
>
> <module>
>  <inherits name="com.google.gwt.user.User" />
>  <entry-point class="com.mycompany.client.MyApp" />
>  <source path="gui" />
> </module>
>
> and I get this error:
>
> 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
>
> If I remove the <source path="gui"> it works fine.
>
> Any suggestions on what's going wrong?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to