[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:56 EST 2013


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

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

    Steps to Reproduce: 
0. Start JBDS.
1. Create a EAP 6 server instance.
2. Start the Java EE Web Project wizard.
3. Select the Target Runtime as jboss-eap-6.0 Runtime and click Next.
5. Keep default project name and package and click Finish.
7. Click cancel for Quick Fix window.

This project generates several warnings. One warning in particular is (viewed in Problems tab):
"Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment."

I think this occurs because the wizard is not actually setting the target runtime property of the project. (See 'Workaround description'.)

  was:
0. Start JBDS.
1. Create a EAP 6 server instance.
2. Start the Java EE Web Project wizard.
3. Select the Target Runtime as jboss-eap-6.0 Runtime and click Next.
5. Keep default project name and package and click Finish.
7. Click cancel for Quick Fix window.

This project generates 2 warnings and 179 errors. One warning in particular is (viewed in Problems tab):
"Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment."

I think this occurs because the wizard is not actually setting the target runtime property of the project. (See 'Workaround description'.)


    
> 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