Thursday, March 26, 2015

Re: How do I include static nested classes in module.xml files?

The best approach might be to create a library instead of trying to directly import specific classes into your module dependencies . 
And Maven could be a good candidate to help you to solve your problem .

Regards .

Le mercredi 25 mars 2015 22:58:14 UTC+1, Jiyuan Zheng a écrit :

I have an interface class from Project-A which contains a static class.

I want to import this class to my gwt Project-B, so I wrote a module.xml file to include the interface class in Project-A and tried to use it.

Here is how it looks like:

<module>      <inherits name=''/>      <source path="">          <include name=""/>          <include name="metadata/input/"/>          <include name="util/"/>          <include name="util/"/>      </source>  </module> 

Other classes are imported without any problem, but the class inside IInputMetaDataProvider is not imported. Here is the error:

[ERROR] [onboardingtool] - cannot be resolved to a type

Please help, 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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment