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

Server adapter: shutting down Eclipse won't reset the maven profile that the adapter activated in the project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.30.x
    • 4.9.0.AM2
    • openshift
    • None
    • devex #156 October 2018, devex #157 November 2019, devex #158 November 2018
    • 5

      steps:

      1. EXEC: create the "hello" application in OpenShift as outlined in https://github.com/redhat-helloworld-msa/helloworld-msa/blob/master/hello.adoc#option-2-deploy-project-via-oc-cli
      2. EXEC: import the "hello" maven project into your Eclipse
      3. EXEC: create a server adapter and start it
      4. ASSERT: server adapter for project "hello" is [Started, Synchronized]
      5. EXEC: in the Project Explorer: pick Maven > Select Maven Profiles...
      6. ASSERT: "openshift" maven profile is selected
      7. EXEC: Restart Eclipse
      8. ASSERT: server adapter for project "hello" is [Stopped, Republish]
      9. EXEC: in the Project Explorer: pick Maven > Select Maven Profiles...

      Result:
      Project "hello" still has "openshift" profile selected

      Expected result:
      Project "hello" still has no profile selected (starting the server adapter selects the "openshift" profile, while stopping it unselects it.)

              dbocharo@redhat.com Dmitrii Bocharov (Inactive)
              adietish@redhat.com André Dietisheim
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: