Hi,
yes - with Java 5 the build succeeds. Maybe there should be a warning on
Building Cayenne page about Java 6 incompatibility.
Thanks,
Borut
2007/8/30, Andrus Adamchik <andrus@objectstyle.org>:
> Hi Borut,
>
> That's a Java 6 symptom. Try building with Java 5.
>
> Cheers,
> Andrus
>
> On Aug 30, 2007, at 9:31 PM, Borut Bolčina wrote:
>
> > Hello,
> >
> > after checking out Cayenne 3.0 from subversion repository
> > https://svn.apache.org/repos/asf/cayenne/main/trunk/
> > and executing
> > mvn -Dmaven.test.skip=true install
> > I get
> > ...
> > [INFO] [cayenne-build:date {execution: date}]
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:compile]
> > [INFO] Compiling 778 source files to
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\target
> > \classes
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Compilation failure
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\access\DataNode.java:[316,10]
> > org.apache.cayenne.access.DataNode.TransactionDataSource is not
> > abstract and does not override abstract method isWrapper
> > For(java.lang.Class) in java.sql.Wrapper
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\conf\NodeDataSource.java:[38,0
> > ] org.apache.cayenne.conf.NodeDataSource is not abstract and does not
> > override abstract method isWrapperFor(java.lang.Cl
> > ass) in java.sql.Wrapper
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\conn\DriverDataSource.java:[38
> > ,7] org.apache.cayenne.conn.DriverDataSource is not abstract and does
> > not override abstract method isWrapperFor(java.lan
> > g.Class) in java.sql.Wrapper
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\util\MemoryBlob.java:[40,7]
> > or
> > g.apache.cayenne.util.MemoryBlob is not abstract and does not override
> > abstract method getBinaryStream(long,long) in jav
> > a.sql.Blob
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\project\ProjectDataSource.java
> > :[33,7] org.apache.cayenne.project.ProjectDataSource is not abstract
> > and does not override abstract method isWrapperFor(
> > java.lang.Class) in java.sql.Wrapper
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\conn\ConnectionWrapper.java:[4
> > 0,7] org.apache.cayenne.conn.ConnectionWrapper is not abstract and
> > does not override abstract method createStruct(java.l
> > ang.String,java.lang.Object[]) in java.sql.Connection
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\conn\PooledConnectionImpl.java
> > :[42,7] org.apache.cayenne.conn.PooledConnectionImpl is not abstract
> > and does not override abstract method removeStateme
> > ntEventListener(javax.sql.StatementEventListener) in
> > javax.sql.PooledConnection
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\conn\PoolManager.java:[43,7]
> > o
> > rg.apache.cayenne.conn.PoolManager is not abstract and does not
> > override abstract method isWrapperFor(java.lang.Class) i
> > n java.sql.Wrapper
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\access\TransactionConnectionDe
> > corator.java:[41,0]
> > org.apache.cayenne.access.TransactionConnectionDecorator is not
> > abstract and does not override abstr
> > act method createStruct(java.lang.String,java.lang.Object[]) in
> > java.sql.Connection
> >
> > C:\cayenne\cayenne3\framework\cayenne-jdk1.4-unpublished\src\main
> > \java\org\apache\cayenne\util\MemoryClob.java:[40,7]
> > or
> > g.apache.cayenne.util.MemoryClob is not abstract and does not override
> > abstract method getCharacterStream(long,long) in
> > java.sql.Clob
> >
> >
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> > [INFO] Total time: 30 seconds
> > [INFO] Finished at: Thu Aug 30 20:11:38 CEST 2007
> > [INFO] Final Memory: 18M/63M
> > [INFO]
> > ----------------------------------------------------------------------
> > --
> >
> > I have
> > Maven version: 2.0.7
> > Java version: 1.6.0_01
> > OS name: "windows xp" version: "5.1" arch: "x86"
> >
> >
> > -Borut
> >
>
>
This archive was generated by hypermail 2.0.0 : Fri Aug 31 2007 - 10:04:55 EDT