Monday, October 16, 2017

Re: Gradle 4.1 gwt-gradle-plugin multi module project not finding other modules dependencies


Well ... That plugin was abandoned long time ago. I use putnami's gwt Gradle plugin

On Monday, October 16, 2017 at 12:30:31 PM UTC-7, Bryan Hughes wrote:
Was my bad.

Package path's weren't lined up to be under .client.

On Saturday, October 14, 2017 at 7:33:25 PM UTC-4, Bryan Hughes wrote:
I'm trying to create a Gradle 4.1 multi module project  with the gwt-gradle-plugin.

I have one module ":gwt-app" that I'm trying to use a simple POJO from it's sibling module ":shared-lib".

I have a simple sample project at https://github.com/hugheba/gwt-shared

When I run "./gradlew :gwt-app:checkGwt" I get the error:

Finding entry point classes
   Tracing compile failure path for type 'example.gwtSharedLibrary.client.GwtSharedLibrary'
      [ERROR] Errors in 'file:/Volumes/Home/Users/bryanhug/Desktop/gwt-shared/gwt-app/src/main/java/example/gwtSharedLibrary/client/GwtSharedLibrary.java'
         [ERROR] Line 20: No source code is available for type example.MyModel; did you forget to inherit a required module?
   [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly

I'm following the directions from https://github.com/steffenschaefer/gwt-gradle-plugin/issues/43#issuecomment-52147244 but it doesn't seem to be working.

Anyone else has this working properly or is there something I'm missing?

I'm just trying to share some models from my Spring project (server) with GWT (client) to serialize and deserialize REST calls with restygwt.

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