Hi,
-- I'm trying to use an external jar in a GWT client. Everything seems to be setup correctly until I try to actually import a class from the jar. The error I get is 'package ledger.general' not found.
The jar looks like this:
- ledger
-- general
--- GeneralLedger.java
- Ledger.gwt.xml
The contents of Ledger.gwt.xml are:
<module>
<inherits name='com.google.gwt.user.User'/>
<source path="ledger"></source>
</module>
I'm currently just trying to integrate it with the default starter project, so in my MyWebApp.gwt.xml I added the line:
<inherits name='Ledger' />
This compiles fine, the jar is on the classpath and everything seems to work (if I remove the Ledger.gwt.xml file it fails). When I actually go to 'import ledger.general.GeneralLedger' however, the package does not exist. Can anyone help me understand what I'm missing or point me towards some docs about this?
Thanks,
Doug
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