[jbosstools-issues] [JBoss JIRA] (JBIDE-25192) Error when eclipse environment has MINISHIFT_HOME different from adapter

Martin Malina (JIRA) issues at jboss.org
Mon Oct 30 12:31:00 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-25192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483564#comment-13483564 ] 

Martin Malina commented on JBIDE-25192:
---------------------------------------

[~odockal] when I roughly followed the steps, I was able to start cdk in devstudio without a problem.
Then I stopped cdk, deleted ~/.minishift and then did a cdk setup in a custom folder.
I changed the server adapter to use this new cdk home. But then I looked at the launch config and it still showed MINISHIFT_HOME =  ~/.minishift. So I think that's the main problem. The minishift home field in the server editor is not propagated into the launch config's env var.

> Error when eclipse environment has MINISHIFT_HOME different from adapter
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-25192
>                 URL: https://issues.jboss.org/browse/JBIDE-25192
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk
>    Affects Versions: 4.5.1.AM3
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>            Priority: Critical
>             Fix For: 4.5.1.Final
>
>
> Steps to reproduce:
>  1) Start eclipse with an environment that has a MINISHIFT_HOME set to one value
>  2) Create a server adapter with the default minishift home ~/.minishift  (ie make no changes)
>  3) via cmdline, try to setup cdk using cdk 3.2a and the .minishift home folder
>  4) Try to start the server
> Expected results: Server starts as expected
> Actual results: No minishift_home is set. The eclipse environment's minishift home is used. The server attempts to start and tells you to call setup-cdk.  The user gets very confused, because the server editor clearly is using ~/.minishift as the home. 



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list