vampirelazarus / eveapi

Automatically exported from code.google.com/p/eveapi
0 stars 0 forks source link

Eclipse and GWT compatibility #30

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Can you give direction/help with getting GWT and eveAPI to play nice together 
in Eclipse?

I've set up Eclipse to pull from the Maven repository (via 
http://kiahu.com/tutorial/working-with-gwt-maven-and-the-google-plugin-for-eclip
se/)
I've grabbed a pom.xml that works from: 

Whenever I try to compile as a Web App - says "No source code is available for 
type com.beimin.eveapi.core.ApiRequest; did you forget to inherit a required 
module?"

Also - I'd be willing to pay you in isk for your time helping me set up a 
EveApi GWT project in Eclipse.

Original issue reported on code.google.com by PansEnd...@gmail.com on 25 Jul 2012 at 7:04

GoogleCodeExporter commented 8 years ago
PansEnd, this is an issue of your application design. You should not use EveApi 
classes in your GWT code. But in case this is an intended behavior and you know 
what you're doing, you might be able to eliminate this exception by providing 
source code of EveApi. This approach randomly solves the problem, though, 
because EveApi itself may reference other libraries and GWT will still complain.
This is all due to the fact that GWT translates your Java code into JavaScript 
but it can't translate everything, so it complains about unknown/untranslatable 
classes. You can read more about this in GWT documentation.
All this considered, this is not an issue of the EveApi library.

Original comment by m...@asarkisov.com on 27 May 2013 at 9:17