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

Wrong Source Path when creating OS3 Server Adapter for multiple applications

    XMLWordPrintable

Details

    • Hide

      1. Create a OS3 project
      2. Create a basic javaee application
      3. Create a server adapter using OS Explorer->project->eap-app->Server Adapter...
      4. Create a nodejs application
      5. Open a New Server Adapter wizard using OS Explorer->project->nodejs-example->Server Adapter...
      6. The Source Path filed points to the wrong javaee! It's hidden by default in the "Advanced" section and very hard to notice. So it creates broken server adapter.
      7. Even if manually select the correct source the OS server adapter will contain the wrong eap-app module. It should not have any wtp module it all because nodejs-example is not a wtp project.

      Show
      1. Create a OS3 project 2. Create a basic javaee application 3. Create a server adapter using OS Explorer->project->eap-app->Server Adapter... 4. Create a nodejs application 5. Open a New Server Adapter wizard using OS Explorer->project->nodejs-example->Server Adapter... 6. The Source Path filed points to the wrong javaee! It's hidden by default in the "Advanced" section and very hard to notice. So it creates broken server adapter. 7. Even if manually select the correct source the OS server adapter will contain the wrong eap-app module. It should not have any wtp module it all because nodejs-example is not a wtp project.

    Description

      1.

      2. Even selecting the correct source manually doesn't help. The eclipse project is still incorrect in the launch config.

      Maybe it's because the nodejs eclipse project is not a wtp project and the server adapter picks up the only available wtp module - eap-app.
      The only way to create a proper server adapter for the nodejs-example is to delete the eap eclipse project from the workspace.

      Attachments

        Issue Links

          Activity

            People

              adietish@redhat.com André Dietisheim
              alexeykazakov Alexey Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: