You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/10/07 19:35:42 UTC

[jira] [Created] (CB-5006) Allow installing plugins by ID to resolve to local plugin directories

Andrew Grieve created CB-5006:
---------------------------------

             Summary: 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
            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#6144)