I get the following errors trying to build Tomcat v6.0.18 from source on 
linux? It appears to be a javac error in the dbcp module, can anyone 
help please?

I also modidifed the build.properties for to compile against = 1.6

Evironment: Linux
                    Ant 1.7.0
                    jdk 1.6.0_12



testexist:
     [echo] Testing  for 
/home/jhoare/tc6.0.18/lib/tomcat6-deps/dbcp/tomcat-dbcp.jar

downloadgz:
      [get] Getting: 
http://archive.apache.org/dist/commons/dbcp/source/commons-dbcp-1.2.2-src.tar.gz
      [get] To: /home/jhoare/tc6.0.18/lib/file.tar.gz
   [gunzip] Expanding /home/jhoare/tc6.0.18/lib/file.tar.gz to 
/home/jhoare/tc6.0.18/lib/file.tar
    [untar] Expanding: /home/jhoare/tc6.0.18/lib/file.tar into 
/home/jhoare/tc6.0.18/lib
   [delete] Deleting: /home/jhoare/tc6.0.18/lib/file.tar
   [delete] Deleting: /home/jhoare/tc6.0.18/lib/file.tar.gz
    [mkdir] Created dir: /home/jhoare/tc6.0.18/lib/tomcat6-deps/dbcp

build-tomcat-dbcp:
     [copy] Copying 67 files to /home/jhoare/tc6.0.18/lib/tomcat6-deps/dbcp
    [mkdir] Created dir: 
/home/jhoare/tc6.0.18/lib/tomcat6-deps/dbcp/src/java/org/apache/tomcat/dbcp
     [move] Moving 63 files to 
/home/jhoare/tc6.0.18/lib/tomcat6-deps/dbcp/src/java/org/apache/tomcat/dbcp
    [mkdir] Created dir: /home/jhoare/tc6.0.18/lib/tomcat6-deps/dbcp/classes
    [javac] Compiling 63 source files to 
/home/jhoare/tc6.0.18/lib/tomcat6-deps/dbcp/classes
    [javac] 
/home/jhoare/tc6.0.18/lib/tomcat6-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/BasicDataSource.java:44:
 
org.apache.tomcat.dbcp.dbcp.BasicDataSource is not abstract and does not 
override abstract method isWrapperFor(java.lang.Class<?>) in 
java.sql.Wrapper
    [javac] public class BasicDataSource implements DataSource {
    [javac]        ^
    [javac] 
/home/jhoare/tc6.0.18/lib/tomcat6-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/DelegatingStatement.java:46:
 
org.apache.tomcat.dbcp.dbcp.DelegatingStatement is not abstract and does 
not override abstract method isPoolable() in java.sql.Statement
    [javac] public class DelegatingStatement extends AbandonedTrace 
implements Statement {...............




Get vacation perfect and shop your summer essentials at www.net-a-porter.com
______________________________________________________________________

CONFIDENTIALITY NOTICE
The information in this email is confidential and is intended solely for the 
addressee. Access to this email by anyone else is unauthorised. If you are not 
the intended recipient, you must not read, use or disseminate the information. 
Any views expressed in this message are those of the individual sender, except 
where the sender specifically states them to be the views of Net a Porter Ltd. 

Net A Porter Ltd is a company registered in England & Wales Number: 3820604 
Registered Office: The Dome, Whiteleys Centre, 151 Queensway, London, W2 4YN.
_____________________________________________________________________

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

Reply via email to