probelm compiling

4 views
Skip to first unread message

gc

unread,
Jul 15, 2010, 12:31:41 PM7/15/10
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.

kilkenny

unread,
Jul 20, 2010, 3:07:11 AM7/20/10
to gwtai
Hi

What statement is on line 9 in the TestApplet class? Is it an
annotation, an import statement or an extends in your class
declaration?

Regards, Adrian

gc

unread,
Jul 20, 2010, 10:17:39 AM7/20/10
to gwtai
Line 9 is the following:
@ImplementingClass(com.mypackage.mytest.impl.TestAppletImpl.class)

gci...@comcast.net

unread,
Jul 20, 2010, 9:31:55 AM7/20/10
to gw...@googlegroups.com
Line 9 is below:
@ImplementingClass(com.mypackage.mytest.impl.TestAppletImpl.class)

Thanks,

Gary
--
You received this message because you are subscribed to the Google Groups "gwtai" group.
To post to this group, send email to gw...@googlegroups.com.
To unsubscribe from this group, send email to gwtai+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gwtai?hl=en.

Reply all
Reply to author
Forward
0 new messages