You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/08/09 09:32:20 UTC

[jira] [Commented] (CB-11589) Missing plugins in PlatformJson after restore

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

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

Commit 634202255d1c0e86ed8845a673818e5add7d7b1b in cordova-lib's branch refs/heads/6.3.x from [~dpogue]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=6342022 ]

CB-11589: Fix missing plugin files after restore

 This closes #464


> Missing plugins in PlatformJson after restore
> ---------------------------------------------
>
>                 Key: CB-11589
>                 URL: https://issues.apache.org/jira/browse/CB-11589
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 6.2.0
>            Reporter: Darryl Pogue
>              Labels: prepare, reproduced, restore, triaged
>
> My project has both Android and iOS platforms, and sometimes when I run {{cordova prepare}} it installs everything properly for Android, and installs the plugin files for iOS but leaves the ios.json file mostly empty.
> It turns out we're incredibly inefficient with restoring platforms and plugins. The entire process looks something like this:
> {code}
> Cordova Prepare
>   restore Android
>     Android install new plugins
>     Android prepare
>   restore iOS
>     iOS install new plugins
>     iOS prepare
>   prepare Android
>   prepare iOS
>   restore Plugins
>     add plugin
>     add plugin
>     ...
> {code}
> Rather than preparing when we add the platform and then preparing again after all the platforms are added, it would be ideal to add the platforms and then do a single prepare at the end.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org