[jbosstools-issues] [JBoss JIRA] (JBIDE-23862) Server adapter: if "oc" in preferences is set to path with a " " syncing fails

Jeff MAURY (JIRA) issues at jboss.org
Thu Feb 16 02:01:00 EST 2017


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

Jeff MAURY commented on JBIDE-23862:
------------------------------------

It is perfectly possible to launch a process with spaces in its path in Java. You must pass an array of strings the first one being the process to launch. The patch seems quite simple to me. Instead of building a string with the path to oc and the parameters, build an array of string and this would work

> Server adapter: if "oc" in preferences is set to path with a " " syncing fails
> ------------------------------------------------------------------------------
>
>                 Key: JBIDE-23862
>                 URL: https://issues.jboss.org/browse/JBIDE-23862
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.4.3.Final
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 4.4.4.AM1
>
>




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


More information about the jbosstools-issues mailing list