Anis Kadri created CB-3297:
------------------------------
Summary: does not install local plugin when specified with a
trailing slash
Key: CB-3297
URL: https://issues.apache.org/jira/browse/CB-3297
Project: Apache Cordova
Issue Type: Bug
Components: Plugman
Affects Versions: 2.6.0
Reporter: Anis Kadri
Assignee: Anis Kadri
Fix For: 2.7.0
{noformat}
./main.js --platform ios --plugin /tmp/ChildBrowser/ --project
/tmp/cordova-example/
Error: ENOENT, no such file or directory
'/tmp/cordova-example/cordova/plugins/ChildBrowser/plugin.xml'
at Object.fs.openSync (fs.js:427:18)
at Object.fs.openSync
(/Users/anis/Projects/cordova/plugman/node_modules/glob/node_modules/graceful-fs/graceful-fs.js:68:26)
at Object.fs.readFileSync (fs.js:284:15)
at runInstall (/Users/anis/Projects/cordova/plugman/src/install.js:37:27)
at /Users/anis/Projects/cordova/plugman/src/install.js:27:17
at Object.fetchPlugin [as fetch]
(/Users/anis/Projects/cordova/plugman/src/fetch.js:42:23)
at Object.installPlugin [as install]
(/Users/anis/Projects/cordova/plugman/src/install.js:22:31)
at Object.<anonymous> (/Users/anis/Projects/cordova/plugman/main.js:92:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira