Thursday, July 17, 2014

Re: Gradle Build Pains

This project is probably not open source? Hard to help without knowing the gradle files and without knowing what kind of exceptions occur.

If you get GWT compile errors then your class path is probably wrong. Also if you have translate errors for classes from gwt-dev or appengine-api then you maybe have a GWT module hanging around that pulls all these classes in using a very silly <source path=".." /> or <super-source path=".." /> entry. GWT only compiles classes that have been made available using GWT modules so it should never try to translate anything from gwt-dev.jar unless you have imported it in a class that will be translated and then GWT will obviously fail to compile. 

Also if you use the gwt-gradle-plugin from Steffen Schäfer and you use project dependencies (e.g. gwt project(":lib1"); ) then make sure that you have adjusted gwt.src contents for your application as shown in https://github.com/steffenschaefer/gwt-gradle-plugin/blob/master/examples/war-using-library/build.gradle

-- J.

--
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