[jbosstools-issues] [JBoss JIRA] (JBIDE-21301) Preferences: path to OC binary is not shown on OpenShift 3 page if binary is on $PATH

Viacheslav Kabanovich (JIRA) issues at jboss.org
Mon Jan 25 14:38:00 EST 2016


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

Viacheslav Kabanovich commented on JBIDE-21301:
-----------------------------------------------

[~mlabuda], can you please try /home/mlabuda/openshift/bin instead of /home/mlabuda/openshift/bin/oc ?

The search algorithm considers parts in $PATH as directories, to which command name to be found is appended to test if the file exists. Your $PATH includes the exact command location, not its parent directory.


> Preferences: path to OC binary is not shown on OpenShift 3 page if binary is on $PATH
> -------------------------------------------------------------------------------------
>
>                 Key: JBIDE-21301
>                 URL: https://issues.jboss.org/browse/JBIDE-21301
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.1.Beta1
>            Reporter: Marián Labuda
>            Assignee: Viacheslav Kabanovich
>            Priority: Minor
>              Labels: openshift_v3, preferences
>             Fix For: 4.3.1.Beta2
>
>
> In JBIDE-21183 was implemented auto-lookup of 'oc' binary on $PATH. This works ok, but in Workbench Preference dialog on OpenShift 3 preference page where location to oc is shown and stored is not this path displayed in this case. If 'oc' binary is located on $PATH it should be also visible on OpenShift 3 preference page.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list