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

Bug 478717

Summary: RAP 3.1 now requires Java 1.8 due to Jetty dependencies - need to run with 1.7
Product: [RT] RAP Reporter: John Gymer <jgymer>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P2 CC: mknauer
Version: 3.1   
Target Milestone: 3.1 M3   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/59145
Whiteboard:

Description John Gymer CLA 2015-09-30 09:43:25 EDT
Changes to Jetty now mean that RAP 3.1 requires Java 1.8, rather than 1.7 as a minimum version. This is not workable for various reasons, not least because many customers need to run RAP under a variety of AppServers (JBoss, WebSphere, WebLogic, TomCat etc.) as WARs, and other components can only be at 1.7 level.

If possible, could RAP 3.1 explicitly use older versions of Jetty so that Java 1.7 is still a possibility?

Thanks, John
Comment 1 Markus Knauer CLA 2015-09-30 10:31:19 EDT
Just to make sure: Our plans have *not* changed - in RAP 3.1 we want to keep Java 1.7 compatibility. Now let's see how we can fix this.
Comment 2 Markus Knauer CLA 2015-10-28 13:37:08 EDT
As a clarification: The RAP Runtime bundles, i.e. everything in the org.eclipse.rap.* namespace does not depend on Java 1.8. As far as I can see it is only the "RAP Basic Equinox Target" feature that combines our RAP bundles with a minimal set of bundles from other projects (Equinox, Jetty, ...).

Up to RAP 3.1.0 M2 all Jetty bundles have been taken from the Eclipse Platform p2 repository. With the proposed change in Gerrit it is now possible to specify an additional p2 repository for Jetty. Based on this change it is now possible to use exact version numbers when we assemble the Equinox target feature.
Comment 3 Markus Knauer CLA 2015-10-29 13:03:47 EDT
Jetty bundles are now independent from the Eclipse Platform contribution and back in a 1.7 compatible version (see nightly build p2 repository at [1]).

There may be reasons (e.g. security) that make an update of the included Jetty version mandatory in the future. Closing this bug as resolved.

[1] http://download.eclipse.org/rt/rap/nightly/runtime
Comment 4 John Gymer CLA 2015-11-03 06:56:44 EST
Excellent - that's much better!  Thanks for your efforts on this!