[opencms-dev] Build problem: compiler errors with ant all

Walter Weinmann walter.weinmann at bc-ag.com
Wed Mar 20 07:35:19 CET 2002


Hello,

I've downloaded opencms_src_4.6.0 and added classes12.jar (JDBC Oracle
Version 9.0.1) to ExternalComponents. If I try to build openCMS with the
command ant all, I get the following compiling errors. What's wrong ?

My configuration is:
- Windows 2000 SP2
- JDK 1.4.0
- TOMCAT 4.0.3
- Oracle 8.0.6

Build messages: ==================================================== Start

Buildfile: build.xml

clean:

init:

initmsg:

prepare:
    [mkdir] Created dir:
E:\Applications\Roche\POY\AssessmentEuropeanWebPresence
\Entwicklung\build\classes
    [mkdir] Created dir:
E:\Applications\Roche\POY\AssessmentEuropeanWebPresence
\Entwicklung\build\opencms\WEB-INF\lib
    [mkdir] Created dir:
E:\Applications\Roche\POY\AssessmentEuropeanWebPresence
\Entwicklung\build\opencms\WEB-INF\oclib
    [mkdir] Created dir:
E:\Applications\Roche\POY\AssessmentEuropeanWebPresence
\Entwicklung\zip
    [mkdir] Created dir:
E:\Applications\Roche\POY\AssessmentEuropeanWebPresence
\Entwicklung\pdf

compileclasses:
    [javac] Compiling 321 source files to
E:\Applications\Roche\POY\AssessmentEu
ropeanWebPresence\Entwicklung\build\classes
    [javac]
E:\Applications\Roche\POY\AssessmentEuropeanWebPresence\Entwicklung\
opencms\src\com\opencms\dbpool\CmsStatement.java:40:
com.opencms.dbpool.CmsState
ment should be declared abstract; it does not define getMoreResults(int) in
com.
opencms.dbpool.CmsStatement
    [javac] public class CmsStatement implements Statement {
    [javac]        ^
    [javac]
E:\Applications\Roche\POY\AssessmentEuropeanWebPresence\Entwicklung\
opencms\src\com\opencms\dbpool\CmsPreparedStatement.java:42:
com.opencms.dbpool.
CmsPreparedStatement should be declared abstract; it does not define
setURL(int,
java.net.URL) in com.opencms.dbpool.CmsPreparedStatement
    [javac] public class CmsPreparedStatement extends CmsStatement
implements Pr
eparedStatement {
    [javac]        ^
    [javac]
E:\Applications\Roche\POY\AssessmentEuropeanWebPresence\Entwicklung\
opencms\src\com\opencms\dbpool\CmsCallableStatement.java:42:
com.opencms.dbpool.
CmsCallableStatement should be declared abstract; it does not define
registerOut
Parameter(java.lang.String,int) in com.opencms.dbpool.CmsCallableStatement
    [javac] public class CmsCallableStatement extends CmsPreparedStatement
imple
ments CallableStatement {
    [javac]        ^
    [javac]
E:\Applications\Roche\POY\AssessmentEuropeanWebPresence\Entwicklung\
opencms\src\com\opencms\dbpool\CmsConnection.java:40:
com.opencms.dbpool.CmsConn
ection should be declared abstract; it does not define setHoldability(int)
in co
m.opencms.dbpool.CmsConnection
    [javac] public class CmsConnection implements Connection {
    [javac]        ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 4 errors

BUILD FAILED

E:\Applications\Roche\POY\AssessmentEuropeanWebPresence\Entwicklung\opencms\
buil
d.xml:134: Compile failed, messages should have been provided.

Total time: 24 seconds

Build messages: ==================================================== End

Thanks for help

Walter Weinmann





More information about the opencms-dev mailing list