[
https://issues.jboss.org/browse/JBIDE-23862?page=com.atlassian.jira.plugi...
]
Andre Dietisheim commented on JBIDE-23862:
------------------------------------------
[~jrichter1] thx for spotting. I dont know how my patch in openshift-restclient-java even
worked at some point. I can perfectly replicate the issue and found the reason(s):
* the java process builder (that's being used to launch the oc binary) wont accept
commands (nor arguments) with spaces.
* the openshift-restclient-java
([
AbstractOpenShiftBinaryCapability#startProcess|https://github.com/adietis...]
splits the command line by whitespaces and thus trashes a command with spaces in it's
path.
Nevertheless I dont find a proper solution:
If I put the command in double quotes (like it is suggested in many entries on the net),
the binary is still not being found. Any other quoting that I tried (like "\\"
or "%20" or even new FIle().getCanonicalPath()) dont work either.
Postponing this non-critical issue to later.
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.3.Final
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)