gc
unread,Jul 15, 2010, 12:31:41 PM7/15/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gwtai
I am having a problem getting my GWTAI code to compile. I am on
linux, using GWT1.5.2, compiling with java 1.6 using eclipse. I have
a class on the client side
com.mypackage.mytest.client.applet.TestApplet, which is the bare GWTAI
applet class.
@ImplementingClass(com.mypackage.mytest.impl.TestAppletImpl.class)
<==this is line 9 of error below
@Height("500")
@Width("500")
@Archive("GwtAI-Client.jar")
public interface TestApplet extends Applet {}
and I have the implementing class
com.mypackage.mytest.impl.TestAppletImpl.java
Everything compiles in Eclipse with the Build Automatically switch
set. When I try to do a clean in Eclipse I get the following errors:
Errors in file: ../src/com/mypackage/mytest/client/applet/
TestApplet.java
{ERROR} Line 9: com.mypackage.mytest.impl.TestAppletImpl cannot be
resolved to a type
I've read some replies to problems such as this on the GWTAI boards so
I have even created a separate jar with just the TestAppletImpl.class
in it called appletImpl.jar, and modified the @Archive line to be:
@Archive("GwtAI-Client.jar,appletImpl.jar") and put the appletImpl.jar
in the
build path in eclipse, but this did not help.
Any help would be appreciated. Thanks.