Wednesday, March 25, 2015

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

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='com.google.gwt.user.User'/>      <source path="">          <include name="IDefinition.java"/>          <include name="metadata/input/IInputMetaDataProvider.java"/>          <include name="util/IXMLTagHelper.java"/>          <include name="util/XMLTagHelper.java"/>      </source>  </module> 

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

[ERROR] [onboardingtool] - com.xxx.xxx.xxx.metadata.input.IInputMetaDataProvider.EnumeratedDomainInfo 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 google-web-toolkit+unsubscribe@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.

No comments:

Post a Comment