abuerki / gwtai

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

Demo does not compile using gwt-2.2.0 #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile the gwtaidemo with gwt-2.2.0

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

I expect the compile to finish without errors.  

Invoking generator com.google.gwt.gwtai.applet.generator.AppletProxyGenerator
[ERROR] Errors in 
'file:/D:/SSGWorkspace/gwtaidemo/src/com/google/gwt/gwtai/demo/client/GwtAI.java
'
[ERROR]  Internal compiler error java.lang.IncompatibleClassChangeError: Found 
interface com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
    at com.google.gwt.gwtai.applet.generator.AppletProxyGenerator.generate(AppletProxyGenerator.java:72)

What version of the product are you using? On what operating system?
Using the latest version of gwtai, and gwt-2.2.0.  I'm running WindowsXP.

Please provide any additional information below.

Switching the eclipse project back to gwt-2.1.1 fixes the compilation problem

Original issue reported on code.google.com by RobertMParker@gmail.com on 2 Mar 2011 at 3:35

GoogleCodeExporter commented 9 years ago
I have the same problem, fix this please

Original comment by alex.dymov on 12 Mar 2011 at 1:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hey all, I just wanted to say that this issue is easily fixable:
1. update the 'gwt.dir' property of the gwtai build.xml file to point to your 
gwt-2.2.0 directory.
2. rebuild gwtai via the 'all' ant target.
3. copy resulting GwtAI-Client.jar and GwtAI-Core.jar from the gwtai/build 
directory to the gwtaidemo/war directory.
4. update the 'gwt.dir' property of the gwtaidemo build.xml file to point to 
your gwt-2.2.0 directory.
5. run the gwtaidemo 'package' ant target.
6. smile as the demo builds successfully.

Original comment by jim.ha...@gmail.com on 14 Mar 2011 at 7:55

GoogleCodeExporter commented 9 years ago
The fix seems do not work on branch 0.4. GWT 2.2 has changed something in their 
code generator.

Original comment by blazeblue@gmail.com on 28 Apr 2011 at 11:27

GoogleCodeExporter commented 9 years ago
Issue 18 has been merged into this issue.

Original comment by dros...@live.com on 19 Nov 2013 at 7:21