cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-8993) Plugin restore ignores search path
Date Mon, 31 Aug 2015 19:14:46 GMT


ASF GitHub Bot commented on CB-8993:

Github user omefire commented on the pull request:
    Thanks for suggesting these changes. 
    However, I have a suggestion :
    As it currently stands, it seems like adding adding a platform or restoring from config.xml
is broken.
    It doesn't handle cases where the searchpath comes from config.json or the case when the
searchpath could be an array of multiple paths.
    I propose we include that fix with this one. What do you think ?
    For references, see : [Handling searchpaths as string or array](

> Plugin restore ignores search path
> ----------------------------------
>                 Key: CB-8993
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Marcus Pridham
>            Assignee: Alexander Sorokin
>             Fix For: 5.1.2
> 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,

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message