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

MINISHIFT_HOME is not propagated to new detected cdk binary properly

    XMLWordPrintable

Details

    • Hide

      1. Start devstudio with a custom MINISHIFT_HOME. In my case the command looked like this:
      MINISHIFT_HOME=/Users/rasp/minishift_home studio/devstudio.app/Contents/MacOS/devstudio
      2. In devstudio, open Preferences -> Runtime Detection and add a path that contains a cdk binary
      3. When your cdk binary is found, just press OK to create the new server adapter
      4. Open the new cdk server adapter and check the Minishift Home field - in my case it's /Users/rasp/tmp/MINISHIFT_HOME which is totally wrong. Also, Minishift Binary is empty, but that is being dealt with in JBIDE-25858 .

      Show
      1. Start devstudio with a custom MINISHIFT_HOME. In my case the command looked like this: MINISHIFT_HOME=/Users/rasp/minishift_home studio/devstudio.app/Contents/MacOS/devstudio 2. In devstudio, open Preferences -> Runtime Detection and add a path that contains a cdk binary 3. When your cdk binary is found, just press OK to create the new server adapter 4. Open the new cdk server adapter and check the Minishift Home field - in my case it's /Users/rasp/tmp/MINISHIFT_HOME which is totally wrong. Also, Minishift Binary is empty, but that is being dealt with in JBIDE-25858 .

    Description

      Following some of the changes to how cdk and runtime detection works (most notably that path to cdk binary can now be used for searching), I wanted to try and see if $MINISHIFT_HOME is still respected and works properly. And it seems to fail.

      I started devstudio with MINISHIFT_HOME=/Users/rasp/minishift_home, then ran runtime detection against /Users/rasp/tmp where a cdk binary was found. But the newly created adapter had this set up as minishift home: /Users/rasp/tmp/MINISHIFT_HOME
      That seems totally wrong.

      Attachments

        Issue Links

          Activity

            People

              rob.stryker Rob Stryker (Inactive)
              exd-mmalina Martin Malina
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: