commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodney Waldhoff <rwaldh...@apache.org>
Subject RE: [DBCP] cvs head does not compile
Date Mon, 03 Mar 2003 23:16:44 GMT
Looks like whomever set up the maven build didn't bother to make the
conditional compilation of the JDBC 3 stuff work (else was using JDK 1.3
and didn't notice.)

You can probably compile using JDK 1.3 under maven, or with JDK 1.3 or 1.4
under Ant, or we'll have to add the filter-token-replacement/copy support
to the maven based build so that it works on 1.3 and 1.4. (or drop 1.3
builds altogther, I suppose.)

Take a look at the prepare-jdbc3 target in the Ant build.xml for details.
Basically it removes the "/* JDBC_3_ANT_KEY" and "JDBC_3_ANT_KEY */"
strings that wrap the JDBC 3 supporting methods.

On Mon, 3 Mar 2003, Quinton McCombs wrote:

> Here is the result of trying to build with Maven...
>
> C:\sourceCode\jakarta\commons\dbcp>maven
>  __  __
> |  \/  |__ Jakarta _ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-9-SNAPSHOT
>
>
> java:prepare-filesystem:
>
> java:compile:
>     [javac] Compiling 27 source files to
> C:\sourceCode\jakarta\commons\dbcp\targ
> et\classes
> C:\sourceCode\jakarta\commons\dbcp\src\java\org\apache\commons\dbcp\cpds
> adapter\
> ConnectionImpl.java:78:
> org.apache.commons.dbcp.cpdsadapter.ConnectionImpl shoul
> d be declared abstract; it does not define setHoldability(int) in
> org.apache.com
> mons.dbcp.cpdsadapter.ConnectionImpl
> class ConnectionImpl
> ^
> C:\sourceCode\jakarta\commons\dbcp\src\java\org\apache\commons\dbcp\Dele
> gatingPr
> eparedStatement.java:90:
> org.apache.commons.dbcp.DelegatingPreparedStatement sho
> uld be declared abstract; it does not define getMoreResults(int) in
> org.apache.c
> ommons.dbcp.DelegatingPreparedStatement
> public class DelegatingPreparedStatement extends AbandonedTrace
>        ^
> C:\sourceCode\jakarta\commons\dbcp\src\java\org\apache\commons\dbcp\Dele
> gatingCo
> nnection.java:89: org.apache.commons.dbcp.DelegatingConnection should be
> declare
> d abstract; it does not define setHoldability(int) in
> org.apache.commons.dbcp.De
> legatingConnection
> public class DelegatingConnection extends AbandonedTrace
>        ^
> C:\sourceCode\jakarta\commons\dbcp\src\java\org\apache\commons\dbcp\Dele
> gatingCa
> llableStatement.java:102:
> org.apache.commons.dbcp.DelegatingCallableStatement sh
> ould be declared abstract; it does not define getMoreResults(int) in
> org.apache.
> commons.dbcp.DelegatingCallableStatement
> public class DelegatingCallableStatement extends AbandonedTrace
>        ^
> C:\sourceCode\jakarta\commons\dbcp\src\java\org\apache\commons\dbcp\Dele
> gatingRe
> sultSet.java:96: org.apache.commons.dbcp.DelegatingResultSet should be
> declared
> abstract; it does not define getURL(int) in
> org.apache.commons.dbcp.DelegatingRe
> sultSet
> public class DelegatingResultSet extends AbandonedTrace implements
> ResultSet {
>        ^
> C:\sourceCode\jakarta\commons\dbcp\src\java\org\apache\commons\dbcp\Dele
> gatingSt
> atement.java:87: org.apache.commons.dbcp.DelegatingStatement should be
> declared
> abstract; it does not define getMoreResults(int) in
> org.apache.commons.dbcp.Dele
> gatingStatement
> public class DelegatingStatement extends AbandonedTrace implements
> Statement {
>        ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -deprecation for details.
> 6 errors
>
> BUILD FAILED
> Compile failed; see the compiler error output for details.
> Total time:  7 seconds
>
> > -----Original Message-----
> > From: Rodney Waldhoff [mailto:rwaldhoff@apache.org]
> > Sent: Monday, March 03, 2003 3:51 PM
> > To: Jakarta Commons Developers List
> > Subject: Re: [DBCP] cvs head does not compile
> >
> >
> > http://cvs.apache.org/builds/gump/latest/commons-dbcp.html
> > suggests this is OK.  Can you be more specific?
> >
> > On Mon, 3 Mar 2003, Quinton McCombs wrote:
> >
> > > The current cvs head does not compile.  Is this something
> > that someone
> > > is working on?
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message