Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gemini » Gemini Blueprint Spring 4 support
Gemini Blueprint Spring 4 support [message #1237764] Thu, 30 January 2014 14:25 Go to next message
Reto Urfer is currently offline Reto UrferFriend
Messages: 6
Registered: July 2009
Junior Member
Hi all
Spring announced that after the current 3.2.7 release there will be only one
more bug fix release for Spring 3.2.

Currently Gemini Blueprint does not work with Spring 4 and is also not
compilable because in Spring 4 they have removed a lot of deprecated
classes. Spring 4 supports Java8 and also Hibernate 4.3 which contains the
JPA 2.1 implementation.

Therefore it is important to have a Spring 4 compatible version of Gemini
Blueprint. Are there any plans to migrate the current version so it will be
usable with Spring 4?

regards
Reto
Re: Gemini Blueprint Spring 4 support [message #1237771 is a reply to message #1237764] Thu, 30 January 2014 14:53 Go to previous messageGo to next message
Dmitry Sklyut is currently offline Dmitry SklyutFriend
Messages: 276
Registered: January 2010
Senior Member
Hi,

Spring 4.0 support is a theme for post 2.x release. Maybe 3.x of blueprint. Current effort is to upgrade osgi frameworks support to OSGi R4.3 level (as felix does not have R5 certified release yet).

Another impediment is that Spring stopped shipping osgi metadata with official releases and Spring EBR is dead. Unless there is a desire on the part of Eclipse EBR project to wake up and start hosting maven/ivy repos of osgified artifacts we are all in a bit of a pickled situation.

Regards,
Dmitry
Re: Gemini Blueprint Spring 4 support [message #1402777 is a reply to message #1237771] Thu, 17 July 2014 13:32 Go to previous messageGo to next message
Richard Fearn is currently offline Richard FearnFriend
Messages: 3
Registered: July 2009
Junior Member
We ran into this problem recently so I filed a bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=439713
Re: Gemini Blueprint Spring 4 support [message #1407660 is a reply to message #1237771] Wed, 13 August 2014 06:37 Go to previous messageGo to next message
Marcos Scriven is currently offline Marcos ScrivenFriend
Messages: 4
Registered: August 2014
Junior Member
Hi Dmitry

I work on an application that uses Spring 3 and Gemini Blueprints. I just tried upgrading to Spring 4, and subsequently found this thread when things didn't work.

I just wanted to confirm a few things:

1) You mention that Spring 4 is not for a 2.x release, but I notice there's a relatively recent (9 days ago at the time of posting) tag in your git repo tagged 'spring4upgrade': http://git.eclipse.org/c/gemini.blueprint/org.eclipse.gemini.blueprint.git/log/?h=spring4upgrade

2) Regarding the Spring EBR releases, Servicemix publish these now. However, I see from the commit comment that that's what you used too.

3) When is Spring 4 support likely to land?

4) A more general question, but what's the roadmap? It looks like 2.0.0-m2 was released last year, and there's only been sporadic development work since (and only by you). Is Eclipse definitely supporting this?

Basically, wondering about the future of Spring in OSGi, and looking at whether we need to start preparing for pure Blueprint wiring.

Thanks

Marcos

Dmitry Sklyut wrote on Thu, 30 January 2014 09:53
Hi,

Spring 4.0 support is a theme for post 2.x release. Maybe 3.x of blueprint. Current effort is to upgrade osgi frameworks support to OSGi R4.3 level (as felix does not have R5 certified release yet).

Another impediment is that Spring stopped shipping osgi metadata with official releases and Spring EBR is dead. Unless there is a desire on the part of Eclipse EBR project to wake up and start hosting maven/ivy repos of osgified artifacts we are all in a bit of a pickled situation.

Regards,
Dmitry


Re: Gemini Blueprint Spring 4 support [message #1411612 is a reply to message #1407660] Sat, 23 August 2014 22:14 Go to previous messageGo to next message
Dmitry Sklyut is currently offline Dmitry SklyutFriend
Messages: 276
Registered: January 2010
Senior Member
Marcos,

Spring 4 is going to be the theme of BP 2.0.

I originally wanted to do a quick release base on spring 3.x but life got in the way.

There will be a 2.0 release in the next few month. Stay tuned for an announce.

Kind Regards,

Dmitry
Re: Gemini Blueprint Spring 4 support [message #1455044 is a reply to message #1411612] Wed, 29 October 2014 01:50 Go to previous messageGo to next message
Marcos Scriven is currently offline Marcos ScrivenFriend
Messages: 4
Registered: August 2014
Junior Member
Hi Dmitry

Is there any update on v2 development? Doesn't look like anything is happening in the log:

http://git.eclipse.org/c/gemini.blueprint/org.eclipse.gemini.blueprint.git/log/

Re: Gemini Blueprint Spring 4 support [message #1456498 is a reply to message #1455044] Thu, 30 October 2014 12:30 Go to previous messageGo to next message
Dmitry Sklyut is currently offline Dmitry SklyutFriend
Messages: 276
Registered: January 2010
Senior Member
Hello Marcos,

I will push the spring4 related changes today-tomorrow minus test-support. I will also set-up jenkins jobs to publish artifacts to nexus.

I am still working on test-support as spring 4 removed support for old Junit3 based test harness and it will take a bit more time to finish plus some more time to redo all of the integration tests.

core, io, mock, extender have been updated to use spring4.

Kind Regards,
Dmitry
Re: Gemini Blueprint Spring 4 support [message #1470033 is a reply to message #1456498] Wed, 12 November 2014 03:23 Go to previous messageGo to next message
Marcos Scriven is currently offline Marcos ScrivenFriend
Messages: 4
Registered: August 2014
Junior Member
Hi Dmitry

Thanks - any idea of when you can price a milestone release of this? I'm using the Eclipse Blueprint snapshot repo directly in our project for now, but obviously we can't release until we have a non-snapshot version, and I'd rather not release a fork.

Marcos
Re: Gemini Blueprint Spring 4 support [message #1470349 is a reply to message #1456498] Wed, 12 November 2014 09:12 Go to previous messageGo to next message
Eddie Mc Greal is currently offline Eddie Mc GrealFriend
Messages: 3
Registered: July 2009
Junior Member
Great news - we're also keen to move to Spring 4+
Any idea when you want to release officially?
Re: Gemini Blueprint Spring 4 support [message #1470988 is a reply to message #1470349] Wed, 12 November 2014 19:57 Go to previous messageGo to next message
Dmitry Sklyut is currently offline Dmitry SklyutFriend
Messages: 276
Registered: January 2010
Senior Member
First good news: I made good progress on test-support. JUnit4 + PaxExam + Spring TestContext framework support. Still a lot of tests to move over but that is busy work mostly.

Now for not so good - servicemix bundles have an import range for commons-logging of [1.1.3, 2). slf4j has an export of 1.1.1. BAM.

I am in process of creating a patch to send to servicemix bundles. Once that gets accepted and they do a release, I will do a Milestone release.
If they do not accept it ... Lets just stay positive.

Hopefully a within a month we can have a 2.0 completed.

Dmitry
Re: Gemini Blueprint Spring 4 support [message #1481385 is a reply to message #1470988] Fri, 21 November 2014 00:37 Go to previous messageGo to next message
Marcos Scriven is currently offline Marcos ScrivenFriend
Messages: 4
Registered: August 2014
Junior Member
Hi Dmitry

Great news about version 2 coming along.

I hit upon the same issue with jcl-over-slf4j. What was your patch to the bundle? To revert to [1.1.1, 2) requirement?

I assume the reason is Spring itself bumped to 1.1.3: github.com/spring-projects/spring-framework/commit/8ae3aa7f59bea714abd7da681f487b5cf1b13165

An alternative I'm trying is to upgrade jcl-over-slf4j: github.com/qos-ch/slf4j/pull/89



Re: Gemini Blueprint Spring 4 support [message #1482042 is a reply to message #1481385] Fri, 21 November 2014 12:38 Go to previous message
Dmitry Sklyut is currently offline Dmitry SklyutFriend
Messages: 276
Registered: January 2010
Senior Member
Marcos, I am not so sure that changing slf4j version range is right solution. There is nothing in the commons-logging 1.1.2 and 1.1.3 that affects importers. No API change, only internal bug fixes. So I would argue that lowest boundary for import should still be 1.1.1 on spring side.

https://issues.apache.org/jira/browse/SMX4-1902

There was no movement on that issue so far. For now I will embed spring bundle generation into blueprint so I can push the changes to give interested parties something to test with. Once this gets resolved on either servicemix or slf4j side, I will update accordingly.

Kind Regards,

Dmitry
Previous Topic:Gemini Naming 1.0.4.RELEASE is now available
Next Topic:Gemini Blueprint Extender ShutdownSorter issues
Goto Forum:
  


Current Time: Tue Nov 25 21:09:42 GMT 2014

Powered by FUDForum. Page generated in 0.03189 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software