Yes it works with package! :) Great, once more thanks a lot Thomas!
Error :
Ludovit
Le dimanche 4 février 2018 22:43:57 UTC+1, Thomas Broyer a écrit :
-- I hope this is the last point, but I didnt manage to include a "standalone" jar. I think I might as well try to find some up to date solution (not sure the legacy code will be GWT 2.8 compliant). But I admit I would at least like to understand how to I include a system scope jar.
I added a system scope dependency, added inherits and I still have "can not find Module.gwt.xml" :
In shared I added, <inherits> and the dependency below (I suppose groupId, artifactId and version are arbitrary in this case).
<dependency> <groupId>com.reveregroup.gwt</groupId> <artifactId>gwt-image-loader</artifactId> <version>1.1.4</version> <scope>system</scope> <systemPath>${basedir}/war/WEB-INF/lib/gwt-image-loader-1.1.4.jar</systemPath> </dependency>
[ERROR] Unable to find 'com/reveregroup/gwt/imagepreloader/ImagePreloader.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
Ludovit
Le dimanche 4 février 2018 22:43:57 UTC+1, Thomas Broyer a écrit :
Try package instead of prepare-package then (my bad, you should never use a phase earlier than package in a multi-module Maven project, as a rule if thumb --there are few exceptions, as always, depends on the project though)
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment