[jbosstools-issues] [JBoss JIRA] (JBIDE-26917) CDK runtime detection does not work for folder with minishift.exe on windows system

André Dietisheim (Jira) issues at jboss.org
Mon Feb 10 11:01:40 EST 2020


    [ https://issues.redhat.com/browse/JBIDE-26917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967885#comment-13967885 ] 

André Dietisheim commented on JBIDE-26917:
------------------------------------------

[~jeffmaury] In *UnifiedMinishiftRuntimeDetector* I've found the following regex that is used to find the cdk binary:
{code}
(crc|cdk-[0-9][.][0-9].*-minishift-(linux|darwin|windows)-amd64)(.exe)?
{code}
The code looks at all files within a given folder and tries to match those against the above regex:
https://github.com/jbosstools/jbosstools-openshift/blob/master/plugins/org.jboss.tools.openshift.cdk.server/src/org/jboss/tools/openshift/internal/cdk/server/core/detection/UnifiedMinishiftRuntimeDetector.java#L158

> CDK runtime detection does not work for folder with minishift.exe on windows system
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-26917
>                 URL: https://issues.redhat.com/browse/JBIDE-26917
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk, openshift, runtime-detection
>    Affects Versions: 4.13.0.Final
>         Environment: Windows 10
>            Reporter: Ondrej Dockal
>            Assignee: André Dietisheim
>            Priority: Critical
>             Fix For: 4.14.0.Final
>
>
> Runtime detection does not find CDK server adapter when given folder with minishift.exe binary. It does not happen on linux systems.
> Steps:
> 1. Have studio opened and CDK binary downloaded
> 2. Preferences -> JBossTools -> Jboss Runtime Detection
> 3. Add 
> 4. Choose folder with cdk binary -> Open
> 5. ASSERT: Searching for runtimes dialog is shown with offered CDK 3.2+ server adapter
> Acutally: on windows it does not recognize adapter. On linux this works.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the jbosstools-issues mailing list