abuerki / gwtai

Automatically exported from code.google.com/p/gwtai
3 stars 2 forks source link

GwtAI with maven #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. build the project with maven
2. place the interface in the client package, place the impl in the client 
module but in it's own package.
3.

What is the expected output? What do you see instead?

I expect the applet to simply work (as I have tested it in a different project, 
simple GWT without maven, and it worked very well).
Instead the applet shows a java.lang.ClassNotFoundException: (in the java 
console) for the Impl class.

I'm using maven to build my GWT project, and I have 3 modules: client, common 
and server. I've added an applet module to hold the gwtai applet implementation.
I would like to know where to place each component (interface, and impl), as 
there seems to be a circular dependency problem, and that doesn't fly well with 
maven. The interface needs the class that's going to implement it, and the impl 
obviously needs the interface.

Also, what should be included in the jar? Only the impl, or the interface as 
well? It's now reasonable to place my entire project in the jar just so the 
applet can run. 

What version of the product are you using? On what operating system?

I'm using GWT 2.3.0, gwtai-0.3, Windows 7, eclipse helios.

Please provide any additional information below.

Original issue reported on code.google.com by tom.shap...@whitesourcesoftware.com on 20 Sep 2011 at 3:05