On Wednesday, May 21, 2014 9:41:26 AM UTC-4, Thomas Broyer wrote:
--The JAR should also contain the compiled classes for your IDE (and javac) to find them.
On Wednesday, May 21, 2014 3:23:04 PM UTC+2, marklar wrote: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.xmlThe 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