[ https://issues.apache.org/jira/browse/CB-5006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13870856#comment-13870856 ]
ASF subversion and git services commented on CB-5006: ----------------------------------------------------- Commit ece3a3dae78a91ba910bb233bc5f5129eb3d3cb8 in branch refs/heads/master from [~kamrik] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=ece3a3d ] CB-5006 Change searchpath to use repeated flag instead of delimiter The colon can't be used as delimiter for Windows paths like C:\... Instead of using a delimiter, this change allows to repeat the --searchpath flag for each additional directory to be searched. The value for each path is resolved relative to the current dir. Example: --searchpath ../my_plugins --searhcpath /usr/lib/other_plugins The dirs are searched in order. Search is not recursive and will only look one level down. It will look for my_plugins/plugin_x/plugin.xml but not for my_plugins/bunch_of_plugins/plugin_y/plugin.xml > Allow installing plugins by ID to resolve to local plugin directories > --------------------------------------------------------------------- > > Key: CB-5006 > URL: https://issues.apache.org/jira/browse/CB-5006 > Project: Apache Cordova > Issue Type: Bug > Components: Plugman > Reporter: Andrew Grieve > Assignee: Mark Koudritsky > Priority: Minor > > ML: http://markmail.org/thread/3w77elhdnidcdyxq > Instead of always hitting the registry when installing a plugin by ID, first > see if it exists within the "plugin search path". > The plugin search path should be specified in the same way as other plugman > registry settings: > https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;a=blob;f=src/registry/registry.js;h=ccdd45ab672abe99a731b9fe0aed8837db40d6f0;hb=f240acc532f93bdf16761836d9b7418373afebec#l239 > The search path should point to directories that contain directories that > contain plugin.xml files. E.g., on start-up, plugman will need to scan on > level deep in all search paths for plugin.xml files and parse out their IDs. > We should be sure to have a console message upon installation that says where > plugins are being installed from. -- This message was sent by Atlassian JIRA (v6.1.5#6160)