Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 958447

Summary: Newly created, or existing imported (e.g., quickstart) SwitchYard projects have requirement for JavaSE-1.6
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Len DiMaggio <ldimaggi>
Component: SwitchYard EditorAssignee: Len DiMaggio <ldimaggi>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin, dlesage, kconner, soa-p-jira
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Currently, on a system with OpenJDK 1.7 installed and configured in JBDS as the only JRE runtime, if you create or import a SwitchYard project, it will result in a project with a dependency on JavaSE-1.6 in its build path. As a consequence, the user will encounter this error message: "Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment."
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-11 16:18:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot
none
Screenshot none

Description Len DiMaggio 2013-05-01 13:59:34 UTC
Description of problem:

On a system with OpenJDK 1.7 installed and configured in JBDS as the only JRE runtime, creating a new SwitchYard project, or importing an existing SwitchYard project (e.g., one of the quickstarts) results in a project with a dependency on JavaSE-1.6 in the build path.

This warning is reported to the user:

Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment. 

Version-Release number of selected component (if applicable):

JBDS: jbdevstudio-product-universal-6.0.1.GA-v20130327-2052-B361.jar

JBDS SOA Tooling: http://download.jboss.org/jbosstools/updates/integration/juno/integration-stack/aggregate/4.0.0/

SOA: http://jawa05.englab.brq.redhat.com/candidate/soa-6.0.0-DR3/

Maven repo: http://jawa05.englab.brq.redhat.com/candidate/soa-6.0.0-DR3/soa-6.0.0-Alpha-maven-repository.zip

EAP: http://download.devel.redhat.com/released/JBEAP-6/6.1.0-Beta/


How reproducible:
100%

Steps to Reproduce:
1. Create a new SwitchYard project or import an existing project
2.
3.
  
Actual results:
Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment. 

Expected results:
I would have expected the project to use the installed/configured JRE.

Additional info:

Comment 1 Len DiMaggio 2013-05-01 14:23:00 UTC
*** Bug 950725 has been marked as a duplicate of this bug. ***

Comment 3 Rob Cernich 2013-08-26 15:38:29 UTC
Not sure if it's appropriate for me to mark this as WONTFIX, but it won't be.

The default JDK version required by Maven is 1.5, which will not work with SwitchYard.  Setting the version to 1.7 will prevent users from using a 1.6 JDK.

Furthermore, this results in a warning in Eclipse and does not prevent the user from building or working with the project.  This warning is generated by Eclipse and simply requires the user to modify their Java preferences by marking their 1.7 JDK as supporting 1.6 environments.

Comment 5 Len DiMaggio 2013-09-27 16:32:52 UTC
Created attachment 804056 [details]
Screenshot

Comment 6 Len DiMaggio 2013-09-27 16:48:53 UTC
Created attachment 804058 [details]
Screenshot