[
https://issues.apache.org/jira/browse/CB-3931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13702262#comment-13702262
]
Dan Moore commented on CB-3931:
-------------------------------
Actually, this appears to cause multiple after_platform_add hooks to fail,
because after the first one, I see text like:
{noformat}
Executing hook
"/path/to/app/.cordova/hooks/after_platform_add/copy_pg_config_files.js
"/path/to/app/"" (output to follow)...
Installing plugin "CVS" following successful platform add of android
Error: ENOENT, no such file or directory '/path/to/app/plugins/CVS/plugin.xml'
at Object.fs.openSync (fs.js:427:18)
at Object.fs.readFileSync (fs.js:284:15)
at Object.module.exports.parseElementtreeSync
(/usr/local/lib/node_modules/cordova/node_modules/plugman/src/util/xml-helpers.js:107:27)
at runInstall
(/usr/local/lib/node_modules/cordova/node_modules/plugman/src/install.js:70:36)
at possiblyFetch
(/usr/local/lib/node_modules/cordova/node_modules/plugman/src/install.js:63:9)
at Object.installPlugin [as install]
(/usr/local/lib/node_modules/cordova/node_modules/plugman/src/install.js:44:5)
at /usr/local/lib/node_modules/cordova/src/platform.js:248:45
at Array.forEach (native)
at /usr/local/lib/node_modules/cordova/src/platform.js:246:52
at /usr/local/lib/node_modules/cordova/src/prepare.js:84:39
{noformat}
And if I have other hooks in after_platform_add, they don't execute.
> Plugman should ignore .svn folders
> ----------------------------------
>
> Key: CB-3931
> URL: https://issues.apache.org/jira/browse/CB-3931
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugman
> Affects Versions: 2.8.0, 2.9.0
> Reporter: Filip Maj
> Assignee: Filip Maj
> Fix For: 3.0.0
>
>
> It looks like at least in prepare.js, maybe more, plugins list is acquired by
> {{readdirSync}} of the plugins directory. IT should filter out .svn folders.
--
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