You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Andrus Adamchik <an...@objectstyle.org> on 2011/09/14 19:28:49 UTC
Re: Build failed in Jenkins: Cayenne-trunk » HSQLDB,JDK 1.6 (latest),Ubuntu #580
This seems like a genuine failure for once. Don't have a chance to try it tonight myself...
On Sep 14, 2011, at 8:21 PM, Apache Jenkins Server wrote:
> [ERROR] <https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=HSQLDB,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/postgres/PostgresSniffer.java>:[45,16] incompatible types
> [ERROR] found : java.lang.Object
> [ERROR] required: org.apache.cayenne.dba.DbAdapter
...
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
> at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
Re: Build failed in Jenkins: Cayenne-trunk » HSQLDB,JDK 1.6 (latest),Ubuntu #580
Posted by Dzmitry Kazimirchyk <dk...@gmail.com>.
Yeah, I didn't notice. (Probably we should finally configure Jenkins to
use our new version naming pattern.)
I think it happens because of returning this:
objectFactory.newInstance(DbAdapter.class,
PostgresAdapter.class.getName())
without explicit casting to DbAdapter.
Probably java compiler configuration on Jenkins doesn't allow this. As
for me, everything builds fine for both 1.5 and 1.6 java versions.
On 09/14/2011 08:28 PM, Andrus Adamchik wrote:
> This seems like a genuine failure for once. Don't have a chance to try it tonight myself...
>
> On Sep 14, 2011, at 8:21 PM, Apache Jenkins Server wrote:
>
>> [ERROR]<https://builds.apache.org/job/Cayenne-trunk/./cayenneTestConnection=HSQLDB,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/postgres/PostgresSniffer.java>:[45,16] incompatible types
>> [ERROR] found : java.lang.Object
>> [ERROR] required: org.apache.cayenne.dba.DbAdapter
> ...
>
>> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
>> at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)