RE: tomcat-dbcp compilation failures

2012-11-22 Thread Caldarale, Charles R
 From: Toby Hobson [mailto:toby.hob...@gmail.com] 
 Subject: tomcat-dbcp compilation failures

 I'm now seeing compilation failures on the tomcat-dbcp project:

 tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/BasicDataSource.java
 53: error: BasicDataSource is not abstract and does not override abstract
 method getParentLogger() in CommonDataSource
 [javac] public class BasicDataSource implements DataSource {

Looks like you're using an inappropriate JDK level.  As I recall, Tomcat 7 must 
be built with JDK 6, although it can run on JRE/JDK 7 once built.

Sun/Oracle introduced incompatibilities in JDK 7, so developers cannot support 
both in a single version of the code.  Tomcat 8 will use JDK 7.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: tomcat-dbcp compilation failures

2012-11-22 Thread Rainer Jung
On 22.11.2012 15:37, Toby Hobson wrote:
 After seeing the previous test failures with HEAD on t7/trunk I grabbed the
 latest code but I'm now seeing compilation failures on the tomcat-dbcp
 project:
 
 tomcat7-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/BasicDataSource.java
 53: error: BasicDataSource is not abstract and does not override abstract
 method getParentLogger() in CommonDataSource
 [javac] public class BasicDataSource implements DataSource {
 
 There are a few more errors like this.
 
 I've noticed that the errors are not on the t7 trunk itself but on the
 dependencies which the ant script downloads.
 
 Are there any docs or guidelines about the best way to build and test the
 t7 codebase? because I seem to be hitting a lot of basic problems right now
 :(

In addition to Chuck: Look at BUILDING.txt at the root of the checkout.

Regards,

Rainer


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org