NetBeans terminal provides "ideopen" command to open a local path this fails on windows#8996
Conversation
…s fails on windows The NetBeans terminal on Windows runs in cygwin or msys. When passing CWD/target path to the ideopen implementation they are linux-style paths and need to be converted to windows format first before they are handled by the IDE.
|
The PR failure is invalid, as the IDE module tests run always. I'll give this a week for anybody to comment. |
|
is this different to |
|
It is a function installed into the running shell, which in turn yields an escape sequence, which is caught by the NetBeans Infrastructure. From my understanding the magic starts in Modules can register external commands and will then be called. The only implementation of this, I'm aware of is I learned this recently, but the idea is nice as there is no need to mess with path or JAVA_HOME and there is even a code path to support remote files, if the |
|
might be my local configuration but the keyword isn't interpreted as command in my case (NB 28): but the changes in this PR look good to me |
The NetBeans terminal on Windows runs in cygwin or msys. When passing CWD/target path to the ideopen implementation they are linux-style paths and need to be converted to windows format first before they are handled by the IDE.