Hi Rob,
Thank you for the response. You are correct, it was using 6.0
libraries. I switched to a JDK 5.0 environment and all of the build
errors are now gone.
However, there are still 2495 warnings concerning use of deprecated
methods, unread local variables, unused imports, undeclared
serialVersionUID, non-static access, and cast type safety. Of course,
these can all be set to 'Ignore' in the Eclipse Java Compiler settings.
Is this what is needed for the SQuirreL SQL code and what the
development team recommends?
Cheers, Bill Law :-)
Cincom Systems Inc. www.cincom.com
There are 10 different kinds of people in the world -- those who
understand binary and those who don't
-----Original Message-----
From: Robert Manning [mailto:rob...@gm...]=20
Sent: Friday, August 10, 2007 5:33 PM
To: Law, Bill
Cc: squ...@li...
Subject: Re: [Squirrel-sql-develop] Fail to build SQuirreL SQL 2.5
On 8/7/07, Law, Bill <bl...@ci...> wrote:
> Greetings,
>
> Following instructions found on your website we have downloaded and
> installed SQuirreL SQL 2.5 including its source code. After creating
an
> Eclipse 3.2.1 project from the source code as per the instructions we
> attempted to build the project using Java 5.0 compliance with Java
6.0.
> But it fails with 149 errors and 2517 warnings. Attached below is the
> first 100 of each from the Eclipse Problems View. What am I doing
> wrong?
>
> Cheers, Bill Law :-)
> Cincom Systems Inc. www.cincom.com
> There are 10 different kinds of people in the world -- those who
> understand binary and those who don't
>
>
> Errors (100 of 149 items)
> The type MockResultSet must implement the inherited abstract method
> ResultSet.getHoldability()
> squirrelsql/test/src/net/sourceforge/squirrel_sql/mo/sql
> MockResultSet.java line 31 1186498280237 26276
This test ResultSet implementation is Java 5. It doesn't implement
getHoldability which is specified in Java 6:
http://java.sun.com/javase/6/docs/api/java/sql/ResultSet.html#getHoldabi
lity()
So somehow you are compiling with Java 6 (even though you told Eclipse
to allow Java 5 compatibility). I use Eclipse in this configuration
without any problems. What does your Java build path specify in the
Libraries tab for "JRE System Library"? (Mine shows jars that live in
1.5.0 jdk directory)
Rob
|