[ https://issues.apache.org/jira/browse/CB-8216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276832#comment-14276832 ]
Vladimir Kotikov commented on CB-8216: -------------------------------------- Looks like that this is medic specific and I’m doubt if we’ll experience this issue anywhere else. So since the fix to mobilespec already pushed to master, I propose to close original issue. More technical details below: Repro steps: 1. Cd to mobilespec’s parent folder 2. Set PWD to current directory 3. Run createmobilespec with following command: cordova-mobile-spec\createmobilespec\createmobilespec --android --skiplink --debug mobilespec Explanation: Initially on Windows PWD is not being set implicitly for each process (that’s why we were not able to catch this error while running createmobilespec from console) and in this case cli works fine. But buildbot ShellCommand explicitly sets PWD for spawned process (apparently for emulating NIX environment), and in case of Medic it will be set to project’s root parent directory. This coincidence causes plugman to fail resolve plugin location properly. > Adding plugins by relative path fails when CWD is not the project root > ---------------------------------------------------------------------- > > Key: CB-8216 > URL: https://issues.apache.org/jira/browse/CB-8216 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib > Reporter: Andrew Grieve > Assignee: Sergey Grebnov > Priority: Minor > > e.g. cd into the platforms directory, then "cordova plugin add > ../../../cordova-plugin-file". It'll try to get it from the registry then > fail. The issue is that we chdir() into the project root before the call to > add the plugin. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org