Thursday, July 17, 2014

Gradle Build Pains

Hey guys,

So I'm attempting to convert all my existing build environment over to gradle using the gwt-gradle plugin. I'm having a heck of a time getting everything going but I think I'm really close. My project structure uses a number of sub-projects, which I'm sure is contributing to the complexity. Also, I'm using AppEngine, so everything seems to be a little more difficult than I was hoping.

My project structure looks something like this
\actualApplication (business logic, actual deployment target)
\library_common (model, users, etc)
\library_datastore (DAOs for AppEngine Datastore)
\library_application (common gxt/gwt stuff for login, place management, etc)

When I go to hit the gradle build on \actualApplication, it looks like everything is going great; however, I get A TON of gwt compile errors. These errors aren't from anything in my source tree, but appear to be the GWT compiler trying to translate A TON (~2.5k) classes from things like:
gwt-user-2.6.1.jar (Request Factory stuff?!)
gwt-servlet-2.6.1.jar (TypeTokenResolverBuilderImpl)
gwt-dev-2.6.1.har (ZipEntryBackedObject)
appengine-remote-api-1.9.6.jar (The declared package "com.google.common.base" does not match the expected package "com.google.appengine.repackaged.com.google.common.base.super.com.google.common.base")

So I think I've got something wrong in setup here that's causing GWT to attempt to compile these JARs as part of my client code.

I'm not very familiar with gradle so I'm not sure really how to start trouble shooting this. Any suggestions would be much appreciated!

Thanks,

E

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