[ 
https://issues.apache.org/jira/browse/CB-4976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13803267#comment-13803267
 ] 

ASF subversion and git services commented on CB-4976:
-----------------------------------------------------

Commit d75c0585c88ee9283db400f0c946027bd9d6e1ea in branch refs/heads/master 
from [~shepheb]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=d75c058 ]

[CB-4976] Don't symlink into ~/.cordova/lib for local libs

If the user specifies a local URI in his config.json, we don't want to
symlink that lib into $HOME/.cordova/lib, just use it in-place as the
source of the platform.

lazy_load calls now return a promise for the path to the target, and all
logic in other modules that was recomputing the path into the global lib
directory has been fixed to just use that return value. This is more
flexible and supports this feature nicely.


> 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)

Reply via email to