Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9361

Imported project examples with multiple projects don't have build path set correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.2.M1, 3.3.0.M3
    • 3.2.1.CR3, 3.3.0.M3
    • project-examples
    • None
    • Workaround Exists
    • Hide

      Hand-edit the build path of the incorrectly setup project to select the actual runtimes needed to compile and build successfully.

      Show
      Hand-edit the build path of the incorrectly setup project to select the actual runtimes needed to compile and build successfully.

      While doing some testing of one of the ESB project examples (ESB for SOA-P 5.0 -> JBoss ESB HelloWorld Action Example - ESB and ESB for SOA-P 5.0 -> JBoss ESB Web Service consumer1 Example) in conjunction with JBDS-1716, I discovered an interesting issue when there are multiple projects in the project-example zip being imported.

      The first project in the zip being imported (i.e. helloworld_action) is imported correctly with the runtime set properly in the build path. But the second project (i.e. helloworld_action_client) is not updated correctly and still pointing to the wrong runtime.

      To reproduce:

      1) In a new workspace with no SOA/EAP 5.x runtime defined, create a new EAP 5.x server in the Servers view. Name the server "one" and the server runtime "two".

      2) Click on Help->Project Examples->ESB for SOA-P 5.0->JBoss ESB HelloWorld Action Example - ESB.

      3) Note that when the projects are imported, helloworld_action is setup correctly and helloworld_action_client is not.

      Now, is this a bug? Or is it working as designed? I would hope that the project examples code would peer into each project being imported to see if the build path needed to be updated.

              snjeza_jira Snjezana Peco (Inactive)
              bfitzpat_rh Brian Fitzpatrick (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: