Okay Thanks! Even better ...

 




----- Original Message ----

From: Jeroen van der Wal 

To: users 

Sent: Din, 25 Nov 2014 15:35

Subject: Re: build 1.7 against java 8?




Hi Johan,

DataNucleus 4 supports Java 8, there's a ticket to upgrade to that version
[1]. It's currently not on the roadmap for Isis 1.8.0 but you can compile
and build against Java 7 and deploy to server running Java 8 without any
issues.

Cheers,

Jeroen

[1] https://issues.apache.org/jira/browse/ISIS-789

On Tue, Nov 25, 2014 at 2:17 PM,  wrote:

> Thank you Martin,
>
>
>
> When running in Eclipse on MacOsx 10.7.5 I get:
>
>  the following expetion.
>
> If not easy to solve I will wait for the next release and upgrade ISIS
> first.
>
>
>
>
>         14:15:13,181  [Schema               main       ERROR]  An
> exception was thrown while adding/validating class(es) :
> org.datanucleus.store.rdbms.mapping.java.SerialisedMapping cannot be cast
> to org.datanucleus.store.rdbms.mapping.java.PersistableMapping
>
>         java.lang.ClassCastException:
> org.datanucleus.store.rdbms.mapping.java.SerialisedMapping cannot be cast
> to org.datanucleus.store.rdbms.mapping.java.PersistableMapping
>
>         at
> org.datanucleus.store.rdbms.table.ColumnCreator.createColumnsForField(ColumnCreator.java:241)
>
>         at
> org.datanucleus.store.rdbms.mapping.java.ReferenceMapping.createPerImplementationColumnsForReferenceField(ReferenceMapping.java:489)
>
>         at
> org.datanucleus.store.rdbms.mapping.java.ReferenceMapping.prepareDatastoreMapping(ReferenceMapping.java:216)
>
>         at
> org.datanucleus.store.rdbms.mapping.java.ReferenceMapping.initialize(ReferenceMapping.java:110)
>
>         at
> org.datanucleus.store.rdbms.mapping.java.InterfaceMapping.initialize(InterfaceMapping.java:54)
>
>         at
> org.datanucleus.store.rdbms.mapping.RDBMSMappingManager.getMapping(RDBMSMappingManager.java:452)
>
>
>
>         Etc..
>
> https://github.com/apache/isis/pull/9
>
> Now Isis builds successfully with JDK8 again.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Nov 25, 2014 at 2:16 PM,  wrote:
>
> > Tnx Martin!
> >
> >
> > Hi,
> >
> > It shouldn't be a problem to build your appllication with Java 8.
> >
> > Building Isis with 1.8 fails with:
> >
> >  T E S T S
> > -------------------------------------------------------
> > SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> > SLF4J: Defaulting to no-operation (NOP) logger implementation
> > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
> further
> > details.
> > Failed tests:
> >
> >
> >
> CssClassFaAnnotationOnMemberFacetFactoryTest.testCssClassFaAnnotationPickedUpOnClass:60
> > Expected: "fa fa-foo fa-fw"
> >      but: was "fa-fw fa fa-foo"
> >
> >
> >
> CssClassFaFacetOnTypeAnnotationFactoryTest.testCssClassFaAnnotationPickedUpOnClass:53
> > Expected: "fa fa-foo fa-fw"
> >      but: was "fa-fw fa fa-foo"
> >
> > Tests run: 1102, Failures: 2, Errors: 0, Skipped: 7
> >
> >
> > Adding -DskipTests=true makes the build pass.
> > I'll be able to take a deeper look tonight.
> >
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Tue, Nov 25, 2014 at 1:31 PM,  wrote:
> >
> > >
> > >
> > > For deployment reasons the admin that deploys asks me to build against
> > > java 8. Is that possible with Isis v1.7 or should I wait for 1.8
> release?
> > >
> > >
> > >
> > > Tnx
> > >
> > >
> > >
> > > Johan
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>

         

Reply via email to