Compilation Errors
vincent_os Sep 19, 2002 3:23 AMI am using the ant build script obtained from the cvs repository :pserver:anonymous@cvs.sourceforge.net:/cvsroot/jboss
I have set the version tag as follows
and that is the only change I have made to the original ant build script. However I get the follwing compilation errors (see end of document). I have tried setting the version tag to:
but this does not seem to solve the problem. I doubt the build in cvs is broken as there were no postings on the subject in the news groups. Any help/advice would be much welcome (have spent too much time trying to track down the problem)
Regards
Vincent O'Sullivan.
ERRORS:
build-jbosscx:
[echo] +++ Building JBossCX(module=jbosscx)
init:
error:
prepare:
[mkdir] Created dir: D:\CVS_JBOSS\jbosscx\build
[mkdir] Created dir: D:\CVS_JBOSS\jbosscx\build\classes
[mkdir] Created dir: D:\CVS_JBOSS\jbosscx\dist
[mkdir] Created dir: D:\CVS_JBOSS\jbosscx\dist\external
compile:
[javac] Compiling 17 source files to D:\CVS_JBOSS\jbosscx\build\classes
jar:
create-manifest:
[jar] Building jar: D:\CVS_JBOSS\jbosscx\dist\external\jbosscx.jar
src-install:
[copy] Copying 1 file to D:\CVS_JBOSS\jboss\src\lib
[echo] +++ Building JBossCX(module=jbosspool)
init:
prepare:
[mkdir] Created dir: D:\CVS_JBOSS\jbosspool\build
compile:
[mkdir] Created dir: D:\CVS_JBOSS\jbosspool\build\classes
[javac] Compiling 53 source files to D:\CVS_JBOSS\jbosspool\build\classes
[javac] Note: sun.tools.javac.Main has been deprecated.
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\connector\jdbc\JDBCManagedConnection.java:43: class org.jboss.pool.jdbc.ConnectionInPool is
an abstract class. It can't be instantiated.
[javac] final ConnectionInPool wrapper = new ConnectionInPool(con, ConnectionInPool.PS_CACHE_DISABLED);
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:35: class org.jboss.pool.jdbc.ConnectionInPool must be declared
abstract. It does not define java.sql.PreparedStatement prepareStatement(java.lang.String, int, int, int) from interface java.sql.Connection.
[javac] public class ConnectionInPool implements PooledObject, ConnectionWrapper {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:35: class org.jboss.pool.jdbc.ConnectionInPool must be declared
abstract. It does not define java.sql.PreparedStatement prepareStatement(java.lang.String, int) from interface java.sql.Connection.
[javac] public class ConnectionInPool implements PooledObject, ConnectionWrapper {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:35: class org.jboss.pool.jdbc.ConnectionInPool must be declared
abstract. It does not define java.sql.PreparedStatement prepareStatement(java.lang.String, int[]) from interface java.sql.Connection.
[javac] public class ConnectionInPool implements PooledObject, ConnectionWrapper {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:35: class org.jboss.pool.jdbc.ConnectionInPool must be declared
abstract. It does not define java.sql.PreparedStatement prepareStatement(java.lang.String, java.lang.String[]) from interface java.sql.Connection.
[javac] public class ConnectionInPool implements PooledObject, ConnectionWrapper {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:35: class org.jboss.pool.jdbc.ConnectionInPool must be declared
abstract. It does not define void releaseSavepoint(java.sql.Savepoint) from interface java.sql.Connection.
[javac] public class ConnectionInPool implements PooledObject, ConnectionWrapper {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:35: class org.jboss.pool.jdbc.ConnectionInPool must be declared
abstract. It does not define java.sql.Savepoint setSavepoint() from interface java.sql.Connection.
[javac] public class ConnectionInPool implements PooledObject, ConnectionWrapper {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:35: class org.jboss.pool.jdbc.ConnectionInPool must be declared
abstract. It does not define java.sql.Savepoint setSavepoint(java.lang.String) from interface java.sql.Connection.
[javac] public class ConnectionInPool implements PooledObject, ConnectionWrapper {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:35: class org.jboss.pool.jdbc.ConnectionInPool must be declared
abstract. It does not define int getHoldability() from interface java.sql.Connection.
[javac] public class ConnectionInPool implements PooledObject, ConnectionWrapper {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:35: class org.jboss.pool.jdbc.ConnectionInPool must be declared
abstract. It does not define void rollback(java.sql.Savepoint) from interface java.sql.Connection.
[javac] public class ConnectionInPool implements PooledObject, ConnectionWrapper {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:35: class org.jboss.pool.jdbc.ConnectionInPool must be declared
abstract. It does not define java.sql.CallableStatement prepareCall(java.lang.String, int, int, int) from interface java.sql.Connection.
[javac] public class ConnectionInPool implements PooledObject, ConnectionWrapper {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:35: class org.jboss.pool.jdbc.ConnectionInPool must be declared
abstract. It does not define java.sql.Statement createStatement(int, int, int) from interface java.sql.Connection.
[javac] public class ConnectionInPool implements PooledObject, ConnectionWrapper {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:35: class org.jboss.pool.jdbc.ConnectionInPool must be declared
abstract. It does not define void setHoldability(int) from interface java.sql.Connection.
[javac] public class ConnectionInPool implements PooledObject, ConnectionWrapper {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:233: class org.jboss.pool.jdbc.StatementInPool is an abstract cl
ass. It can't be instantiated.
[javac] StatementInPool st = new StatementInPool(con.createStatement(), this);
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:415: class org.jboss.pool.jdbc.StatementInPool is an abstract cl
ass. It can't be instantiated.
[javac] StatementInPool st = new StatementInPool(con.createStatement(resultSetType, resultSetConcurrency), this);
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:433: class org.jboss.pool.jdbc.PreparedStatementInPool is an abs
tract class. It can't be instantiated.
[javac] wrapper = new PreparedStatementInPool(ps, this, sql);
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\ConnectionInPool.java:435: class org.jboss.pool.jdbc.PreparedStatementInPool is an abs
tract class. It can't be instantiated.
[javac] wrapper = new PreparedStatementInPool(con.prepareStatement(sql, resultSetType, resultSetConcurrency), this, sql);
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\JDBCConnectionFactory.java:191: class org.jboss.pool.jdbc.ConnectionInPool is an abstr
act class. It can't be instantiated.
[javac] ConnectionInPool wrapper = new ConnectionInPool(con);
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\PreparedStatementInPool.java:31: class org.jboss.pool.jdbc.PreparedStatementInPool mus
t be declared abstract. It does not define void setURL(int, java.net.URL) from interface java.sql.PreparedStatement.
[javac] public class PreparedStatementInPool extends StatementInPool implements PreparedStatement {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\PreparedStatementInPool.java:31: class org.jboss.pool.jdbc.PreparedStatementInPool mus
t be declared abstract. It does not define java.sql.ParameterMetaData getParameterMetaData() from interface java.sql.PreparedStatement.
[javac] public class PreparedStatementInPool extends StatementInPool implements PreparedStatement {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\PreparedStatementInPool.java:31: class org.jboss.pool.jdbc.PreparedStatementInPool mus
t be declared abstract. It does not define java.sql.ResultSet getGeneratedKeys() from interface java.sql.Statement.
[javac] public class PreparedStatementInPool extends StatementInPool implements PreparedStatement {
[javac] ^
[javac] D:\CVS_JBOSS\jbosspool\src\main\org\jboss\pool\jdbc\PreparedStatementInPool.java:31: class org.jboss.pool.jdbc.PreparedStatementInPool mus
t be declared abstract. It does not define boolean execute(java.lang.String, int) from interface java.sql.Statement.