[
https://issues.apache.org/jira/browse/CB-8993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14554924#comment-14554924
]
ASF GitHub Bot commented on CB-8993:
------------------------------------
GitHub user marcuspridham opened a pull request:
https://github.com/apache/cordova-lib/pull/224
CB-8993 Plugin restore ignores search path
Passes provided searchpath to the plugin restore after adding a platform.
Without this I would get errors sometimes about "loadLocalPlugins called twice
with different search paths.Support for this is not implemented. "
Also allowing the prepare command to pull the searchpath from the
.cordova/config.json if it is present. This aligns with what the platform and
plugin commands do.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/marcuspridham/cordova-lib CB-8993
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/224.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #224
----
commit e03cf3e28414a3e6c375ec4f7275ea1ea67cbf3a
Author: Marcus Pridham <[email protected]>
Date: 2015-05-21T19:10:08Z
CB-8993 Plugin restore ignores search path
----
> Plugin restore ignores search path
> ----------------------------------
>
> Key: CB-8993
> URL: https://issues.apache.org/jira/browse/CB-8993
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Reporter: Marcus Pridham
> Priority: Minor
>
> If I run the command:
> cordova prepare --searchpath ~/cordova-plugins
> I would expect the CLI to try restore plugins in the config.xml from the
> provided searchpath. Currently this parameter is ignored.
> I can get this to work if I modify the opts variable in cli.js and add:
> searchpath : args.searchpath,
> https://github.com/apache/cordova-cli/blob/master/src/cli.js#L179
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]