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

Wrong Source Path when creating OS3 Server Adapter for multiple applications

XMLWordPrintable

    • 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.

      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.

        1. launch_config.png
          335 kB
          André Dietisheim
        2. Screenshot 2016-03-31 14.34.47.png
          242 kB
          André Dietisheim
        3. server-adapter.png
          406 kB
          André Dietisheim

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

                Created:
                Updated:
                Resolved: