[jbosstools-issues] [JBoss JIRA] (JBIDE-13606) Java EE Web Project Wizard does not set target runtime generating errors

Michelle Murray (JIRA) jira-events at lists.jboss.org
Wed Feb 20 00:35:57 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-13606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michelle Murray updated JBIDE-13606:
------------------------------------

    Workaround Description: 
8. Right-click on the project name in Project Explorer view and click properties.
9. Click Target Runtimes. The jboss-eap-6.0. Runtime checkbox is not selected.
10. Select the jboss-eap-6.0 Runtime check box.
11. Press OK to close the properties window.

The JavaSE-1.6 warning is resolved.

[Setting the target runtime manually once the project was created automatically changed the Java Libraries hence resolving the JavaSE-1.6 warning. But perhaps this wasn't necessarily the best way to correct the issue.]

  was:
8. Right-click on the project name in Project Explorer view and click properties.
9. Click Target Runtimes. The jboss-eap-6.0. Runtime checkbox is not selected.
10. Select the jboss-eap-6.0 Runtime check box.
11. Press OK to close the properties window.

The JavaSE-1.6 warning is resolved along with 143 Java errors.

[Setting the target runtime manually once the project was created automatically changed the Java Libraries hence resolving the JavaSE-1.6 warning. But perhaps this wasn't necessarily the best way to correct the issue.]


    
> Java EE Web Project Wizard does not set target runtime generating errors
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-13606
>                 URL: https://issues.jboss.org/browse/JBIDE-13606
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central
>    Affects Versions: 4.0.0.Final
>         Environment: Fedora 17, JDK1.7, JBDS 6.0.0
>            Reporter: Michelle Murray
>            Assignee: Snjezana Peco
>
> In the Java EE Web Project wizard I chose jboss-eap-6.0 Runtime as the target runtime. When the wizard completed there were several warnings. One in particular:
> "Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment."
> This warning was resolved by setting the target runtime to jboss-eap-6.0 again in the project's Properties > Targeted Runtimes.
> So although I had chosen jboss-eap-6.0 Runtime as the target runtime in the wizard, this was not set in the project's properties when the project was created. As a user, this seems like counter-intuitive behavior. I would have thought it would have been set.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list