I am using IDEA 117.216
It would be great if CrazyCoder sees this question :)
How do you guys refer to another module that the GWT compiler sees?
When I say a module , I mean a module in IntelliJ IDEA terminology.
Here is my situation. I have an average project (GAE + GWT + RequestFactory). Now I created an Android module in my project. The idea is that he will use C2DM and talk to the server through RequestFactory (RF).
So, I created the third module in my project and moved all the RF proxies and interfaces there, so I can refer to both the GWT / GAE module and the Android module.
He likes the Android module, but the GWT compiler does not. It cannot find the classes that I went into the "general" module. Giving me errors like:
[ERROR] Errors in 'file:/C:/work/sideprojects/courierapp/src/com/blah/courierApp/client/admin/AdminPage.java'
[ERROR] Line 77: No source code is available for type com.blah.shared.proxies.OrderProxy; did you forget to inherit a required module?
[ERROR] Line 81: No source code is available for type com.blah.shared.factories.AdminRequestFactory; did you forget to inherit a required module?
I need to note that the SharedClasses module is added as a dependency for the GWT module. But still the GWT does not know where its sources are.
It seems to me that this error .
How do you solve this? I really do not want to have two compilation steps: first create generic jar classes with sources, and then create a GWT project that references this jar, etc.
source
share