Hi,

Trying to build the current cvs head using jdk1.3 produces the following errors:

With build.properties pointing to a valid jdbc2_0-stdext.jar I get the following errors as the methods used are from JDBC 3.0 which I can't seem to find a jar for (other than using jdk1.4!)

jdbcExtension:
     [echo] JDBC Standard Extension is present.

build.db:
[javac] Compiling 11 source files to C:\Java\code\jakarta\logging-log4j\dist\classes
[javac] C:\Java\code\jakarta\logging-log4j\src\java\org\apache\log4j\db\DBAppender.java:219: cannot resolve symbol
[javac] symbol : method getGeneratedKeys ()
[javac] location: interface java.sql.PreparedStatement
[javac] rs = insertStatement.getGeneratedKeys();
[javac] ^
[javac] C:\Java\code\jakarta\logging-log4j\src\java\org\apache\log4j\db\DBAppender2.java:135: cannot resolve symbol
[javac] symbol : variable RETURN_GENERATED_KEYS
[javac] location: interface java.sql.Statement
[javac] connection.prepareStatement(DBAppender2.insertSQL, Statement.RETURN_GENERATED_KEYS);
[javac] ^
[javac] C:\Java\code\jakarta\logging-log4j\src\java\org\apache\log4j\db\DBAppender2.java:198: cannot resolve symbol
[javac] symbol : method getGeneratedKeys ()
[javac] location: interface java.sql.Statement
[javac] ResultSet keyRS = insertStatement.getGeneratedKeys();
[javac] ^
[javac] C:\Java\code\jakarta\logging-log4j\src\java\org\apache\log4j\db\dialect\Util.java:105: cannot resolve symbol


    [javac] symbol  : method supportsGetGeneratedKeys  ()
    [javac] location: interface java.sql.DatabaseMetaData
    [javac]       return meta.supportsGetGeneratedKeys();
    [javac]                  ^
    [javac] 4 errors

BUILD FAILED


When I remove the JDBC jar to avoid that part of the build I get the next error:


chainsawCheck:
     [echo] Chainsaw dependant libraries present.

build.chainsaw:
[javac] Compiling 119 source files to C:\Java\code\jakarta\logging-log4j\dist\classes ^
[javac] C:\Java\code\jakarta\logging-log4j\src\java\org\apache\log4j\chainsaw\plugins\PluginClassLoaderFactory.java:
77: cannot resolve symbol
[javac] symbol : constructor RuntimeException (java.lang.Exception)
[javac] location: class java.lang.RuntimeException
[javac] throw new RuntimeException(e);
[javac] ^
[javac] C:\Java\code\jakarta\logging-log4j\src\java\org\apache\log4j\chainsaw\plugins\PluginClassLoaderFactory.java:
90: cannot resolve symbol
[javac] symbol : constructor RuntimeException (java.lang.Exception)
[javac] location: class java.lang.RuntimeException
[javac] throw new RuntimeException(e);
[javac] ^
[javac] 2 errors


BUILD FAILED



Fortunately, if I remove both jakarta-oro.jar and jdbc2_0-stdext.jar from the build classpath everything else builds correctly.

Also dropping the jdbc2_0-stdext.jar into tests\lib made the the unit tests complete ok under 1.3 :-)

Are these dependencies intended?

Kind Regards

Andy
The information contained in this e-mail is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material.  If You are not the intended recipient of this e-mail,
the use of this information or any disclosure, copying or distribution is
Prohibited and may be unlawful.  If you received this in error, please
contact the sender and delete the material from any computer.  The views
expressed in this e-mail may not necessarily be the views of The PCMS Group
plc and should not be taken as authority to carry out any instruction
contained.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to