Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 488009

Summary: Update to Spring 4.2.x
Product: [RT] Gemini.Blueprint Reporter: Olaf Otto <olaf>
Component: CoreAssignee: Olaf Otto <olaf>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: infiniteuniverse, richardfearn
Version: 2.0.0 RELEASE   
Target Milestone: 2.0.0.M04   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 393961    

Description Olaf Otto CLA 2016-02-18 07:12:43 EST
Update the upcoming gemini-blueprint release to work with the latest Spring 4.2.x GA version (4.2.4 as of today)
Comment 1 Olaf Otto CLA 2016-02-22 06:14:27 EST
I've analyzed the current situation (master branch). Migrating to Spring 4 has a number of side effects, all of which apparently where addressed concurrently:

 - Various POM changes, including transitive dependencies
 - A wider range of API change adaptations in core and extender
 - Replacement of obsolete classes removed from Spring 4, such as the TimerTaskExecutor
 - Re-write of the integration test as the deprecated Spring 3 test infrastructure is no longer present in Spring 4.

The latter change - re-writing the integration tests - is the crux of the matter. Here, two changes - to the integration framework itself and the Spring version - happen in parallel. Resulting, it is almost impossible to diagnose whether integration test failures - of which there are, unfortunately, quite a few on the master branch - represent actual issues introduced by the usage of Spring 4 or whether they are rooted in changes to the integration test framework itself.

This, I believe, accounts for the delay in shipping a 2.0.0 release for the current Spring 4 version.

I have thus branched from rev. 5c50c38, at a point where the integration tests are not migrated and all integration tests passed.

Subsequently, I have introduced Spring 4 in a step-by-step manner. Finally, instead of re-writing the integration testing framework, I have provided the legacy Spring test infrastructure as part of the integration testing framework.

This way, The Spring version update and the re-write of the integration testing framework can be addressed separately.

The corresponding changes are available at https://github.com/olaf-otto/gemini.blueprint/tree/488009-migrate-to-spring-4.2.4 - this is a version of gemini-blueprint with Spring 4.2.4 with passing integration tests (felix, knopflerfish, equinox).

I will now create a pull request to the official gemini-blueprint project mirror at GitHub.
Comment 2 Olaf Otto CLA 2016-03-15 04:58:56 EDT
Fixed for  2.0.0 (rev fc6f51d3f7477c3d4467541fa67687f565a6b4a2)
Comment 3 Olaf Otto CLA 2016-04-28 07:39:58 EDT
*** Bug 484827 has been marked as a duplicate of this bug. ***
Comment 4 Olaf Otto CLA 2016-04-28 07:40:45 EDT
*** Bug 439713 has been marked as a duplicate of this bug. ***
Comment 5 Olaf Otto CLA 2017-02-03 05:31:54 EST
Released - closing this bug.