cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Problem with code repository
Date Wed, 21 Mar 2012 13:11:37 GMT
Compiler - yes, but different JDKs also have different class libs with API differences. 

On Mar 21, 2012, at 4:00 PM, Michael Gentry wrote:

> Isn't this supposed to fix the compiler version to 1.5?
> 
> <plugin>
> 	<artifactId>maven-compiler-plugin</artifactId>
> 	<version>2.3.2</version>
> 	<configuration>
> 		<source>1.5</source>
> 		<target>1.5</target>
> 	</configuration>
> </plugin>
> 
> mrg
> 
> 
> On Wed, Mar 21, 2012 at 2:21 AM, Andrus Adamchik <andrus@objectstyle.org> wrote:
>> I think the problem is that you are compiling with Java 7. Try it with Java 6.
>> 
>> Andrus
>> 
>> On Mar 20, 2012, at 10:53 PM, jerome moliere wrote:
>> 
>>> Hi all,
>>> I fetched the source code from git repo...
>>> It does not compile ..build failed with an exception coming from
>>> cayenne-jdk1.5-unpublished module...
>>> [ERROR] /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/DataNode.java:[333,10]
>>> error: DataNode.TransactionDataSource is not abstract and does not
>>> override abstract method getParentLogger() in CommonDataSource
>>> [ERROR] /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/PoolManager.java:[41,7]
>>> error: PoolManager is not abstract and does not override abstract
>>> method getParentLogger() in CommonDataSource
>>> [ERROR] /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/TransactionConnectionDecorator.java:[48,0]
>>> error: TransactionConnectionDecorator is not abstract and does not
>>> override abstract method getNetworkTimeout() in Connection
>>> [ERROR] /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/DriverDataSource.java:[38,7]
>>> error: DriverDataSource is not abstract and does not override abstract
>>> method getParentLogger() in CommonDataSource
>>> [ERROR] /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/PoolDataSource.java:[39,7]
>>> error: PoolDataSource is not abstract and does not override abstract
>>> method getParentLogger() in CommonDataSource
>>> [ERROR] /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/conn/ConnectionWrapper.java:[47,7]
>>> error: ConnectionWrapper is not abstract and does not override
>>> abstract method getNetworkTimeout() in Connection
>>> [ERROR] /home/romje/platform/orm/cayenne/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/oracle/OracleSQLTemplateAction.java:[107,10]
>>> error: OracleSQLTemplateAction.OracleResultSetWrapper is not abstract
>>> and does not override abstract method <T>getObject(String,Class<T>)
in
>>> ResultSet
>>> 
>>> 
>>> 
>>> It seems that the documentation dealing with maintaining git local
>>> copy up to date with remote server contains different problems can
>>> someone fix that ?
>>> 
>>> 
>>> I was not able since saturday to get a valuable code copy and to
>>> advance on the osgi way to build cayenne...-(
>>> 
>>> thanks for your help
>>> jerome
>>> J.MOLIERE - Mentor/J
>>> auteur Eyrolles
>>> blog: http://romjethoughts.blogspot.com
>>> OSGi book available now!!!
>>> 
>> 
> 


Mime
View raw message