Also remember Eclipse 3.1 is the version that is Java 5 compliant. This is
still an 'M' build and not a General Release.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 7:22 PM
To: [email protected]
Subject: RE: Compile controls project in eclipse


Gary,

I use eclipse as well. Have you set your compliance level to java 1.5? This
is under the project properties (right click on the project -> properties)
on the Java Compiler page.

- Dan

Original Message:
-----------------
From: Paige, Gary [EMAIL PROTECTED]
Date: Wed, 17 Nov 2004 15:11:53 -0600
To: [email protected]
Subject: Compile controls project in eclipse


I can succesfully compile Beehive using the ant build process but I want
to be able to build in my Eclipse env.

I can compile the api portion but I cannot compile the runtime portion..
I have several errors but they are related to the following :

Bound mismatch: The generic method getAnnotation(Class<A>) of type
Declaration is not
 applicable for the arguments (Class<ControlInterface>) since the type
ControlInterface is not a
 valid substitute for the bounded parameter <A extends Annotation>

I have about 20 of these -- al related to some generic notation.

I am starting Eclipse with the 1.5 jre and using the same jre to compile
-- this is the same jre used by the ant process.

Any hints would be great.


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



Reply via email to