You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Braden Shepherdson (JIRA)" <ji...@apache.org> on 2013/11/12 21:24:17 UTC

[jira] [Updated] (CB-5362) URI parameter should be able to handle local repo

     [ https://issues.apache.org/jira/browse/CB-5362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Braden Shepherdson updated CB-5362:
-----------------------------------

    Component/s: CLI
                 BlackBerry

This is a bug in the Blackberry parser in the CLI. It's blindly using the global libDir, rather than checking for a local config and following it. See for example the code [on Android|https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=blob;f=src/metadata/android_parser.js;h=535d5b29a7676955de1e19290609e334d83a67e5;hb=HEAD#l59].

> URI parameter should be able to handle local repo
> -------------------------------------------------
>
>                 Key: CB-5362
>                 URL: https://issues.apache.org/jira/browse/CB-5362
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry, CLI
>    Affects Versions: 3.1.0
>            Reporter: JennyGee
>            Priority: Minor
>
> (In cases where you have multiple copies of the pre-released cordova library and quickly switch between them.) In the project directory, you can have the following .cordova/config.json, and set:
> {code:javascript}
> {...
>    "lib": {
>        "android": {
>            "version": "dev",
>            "uri": "/some/local/path",
>            "id": "cordova-android-dev"
>        }
>    }
> }
> Where the URI can specify some local REPO.



--
This message was sent by Atlassian JIRA
(v6.1#6144)