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/10/23 22:19:55 UTC

[jira] [Resolved] (CB-4976) Don't use ~/.cordova/lib during platform add when platform has been set to a local path via config.json

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

Braden Shepherdson resolved CB-4976.
------------------------------------

    Resolution: Fixed

Done. This should in principle work for www too; it's just another library. But because the config.json file lives in $PROJECT/.cordova/config.json now, which doesn't exist before cordova create has already checked out the www library, we'll need some custom logic for it still.

> Don't use ~/.cordova/lib during platform add when platform has been set to a local path via config.json
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CB-4976
>                 URL: https://issues.apache.org/jira/browse/CB-4976
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Andrew Grieve
>            Assignee: Braden Shepherdson
>            Priority: Minor
>
> The caching of the platform within libs/ is a source of frustration to the continuous build, and to people constantly testing the tool locally against local platform checkouts. It causes you to sometimes not point to where you think it's pointing if the symlink already exists and it's different from what you specified in config.json.
> I think the best thing here would be to just not use the libs/ directory at all for the non-lazy-loaded case.



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