Thursday, March 26, 2015

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

Try passing "-strict" to the GWT compiler, it should give you more information as to why the type has been excluded (actually, it will error out instead of excluding non-translatable sources that later cause errors like you're seeing)

On Wednesday, March 25, 2015 at 10:58:14 PM UTC+1, Jiyuan Zheng wrote:

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