All,

While back-porting r1587378 to Tomcat 7.0, it appears that I can't build
Tomcat 7.0.x trunk:

$ echo $JAVA_HOME
/usr/local/java-7

$ ant deploy
Buildfile: /home/cschultz/projects/apache-tomcat/tomcat-7.0/build.xml

[...]

    [javac] Compiling 64 source files to
/home/cschultz/projects/apache-tomcat/downloaded-libs/tomcat7-deps/dbcp/classes
    [javac] warning: [options] bootstrap class path not set in
conjunction with -source 1.6
    [javac]
/home/cschultz/projects/apache-tomcat/downloaded-libs/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 {
    [javac]        ^

[...]
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 15 errors
    [javac] 1 warning

BUILD FAILED
/home/cschultz/projects/apache-tomcat/tomcat-7.0/build.xml:2687: The
following error occurred while executing this line:
/home/cschultz/projects/apache-tomcat/tomcat-7.0/build.xml:2791: Compile
failed; see the compiler error output for details.


Am I missing something in my environment?

The only thing I have set in build.properties is my "base.path".
Everything else came directly from svn.

Thanks,
-chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to