[jbosstools-issues] [JBoss JIRA] (JBIDE-23893) [cdk] follow up on changes to cdk3 for marker file

Rob Stryker (JIRA) issues at jboss.org
Wed Mar 8 11:33:00 EST 2017


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

Rob Stryker commented on JBIDE-23893:
-------------------------------------

The problem here is that the runtime detection API is very much filesystem / folder oriented. You pick a folder and it scans deep, and asks each runtime detector to 'find' a runtime in each folder. 

So the driver is the filesystem tree, and then it asks the rt detectors. It doesn't stop when it finds one runtime. It will keep scanning for others. This will become very  inefficient if it still tries to scan the entire fs or folder structure of a user's home directory. 

But to reverse the logic would be a huge API change. 

> [cdk] follow up on changes to cdk3 for marker file
> --------------------------------------------------
>
>                 Key: JBIDE-23893
>                 URL: https://issues.jboss.org/browse/JBIDE-23893
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk
>    Affects Versions: 4.4.3.Final
>            Reporter: Rob Stryker
>            Assignee: Martin Malina
>             Fix For: 4.4.4.AM2
>
>
> cdk v3 added marker files with credentials and version information. We need to make use of that. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list