HI JensThanks for the reply- How do we define GWT modules externally , for classes in third party jars
Just like normal GWT modules, its only important that they are in the correct package, e.g. if you want to use com.3rdparty.math.* you could create com/3rdparty/Math.gwt.xml and use <source path="math"/> to make the code available to GWT compiler. You can either store the Math.gwt.xml file in your main project source directory or make a dedicated project you depend on.
- And if the source code is needed by GWT compiler, if we have third party jars , with no source code, then they cannot be used as part of the GWT appWould that be a correct statement
Yes, if there is no way to get the source code, you can not use GWT. In that case you have to use a solution based on class files only like teaVM. But given that you can decompile Java classes you might still be able to use GWT by recreating the source from the classes. However I never tried it.
-- J.
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