Hello all, 

I need some help with GWT. We have a Java project and we use GWT to build 
the UI, the structure of my project is something similar to this:
ProjectA
|
|-->Server/Common/src
                   |->com.abc.core
                                  |->util.gwt.xml
                   |->com.abc.core.util (Package)
                                  |-> test.java
........
|
|-->Common/src
            |->com.abc.gwt
                         |->ws.gwt.xml    
            |->com.abc.gwt.client
                         |-> HP.java

I want to use a method that is in test.java from HP.java, for that I have 
created util.gwt.xml

<?xml version="1.0" encoding="UTF-8"?>
<module>
  <inherits name='com.google.gwt.user.User'/>
  <source path="util"></source>
</module>

and modified the ws.gwt.xml

......
<inherits name="com.abc.core.util"/>
........
<entry-point class='com.abc.gwt.client.HP'/>

When I try to compile the code I am getting this error:

compile.gwt:
    [mkdir] Created dir: c:\Test_trunk_217\build\server\gwt
     [java] Loading inherited module 'com.abc.gwt.wsdev'
     [java]    Loading inherited module 'com.abc.core.util'
     [java]       [ERROR] Unable to find 'com/abc/core/util.gwt.xml' on 
your classpath; could be a typo, or maybe you forgot to include a classpath 
entry for source?
     [java]    [ERROR] Line 14: Unexpected exception while processing 
element 'inherits'

Please give me a hand.

Thanks.

-- 
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+unsubscr...@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/d/optout.

Reply via email to