cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darryl Pogue (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-11777) Plugins superseding config.xml
Date Sat, 02 Jun 2018 23:38:00 GMT

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

Darryl Pogue resolved CB-11777.
-------------------------------
    Resolution: Fixed

> Plugins superseding config.xml
> ------------------------------
>
>                 Key: CB-11777
>                 URL: https://issues.apache.org/jira/browse/CB-11777
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-lib
>    Affects Versions: 6.3.1
>            Reporter: Darryl Pogue
>            Assignee: Darryl Pogue
>            Priority: Major
>              Labels: triaged
>
> The ongoing saga of CB-11589 and CB-11698...
> When running {{cordova prepare}} to restore platforms and plugins, the platform has prepare
called before the plugins are restored. This leads to the top-level config.xml data being
copied into the platform at prepare time, and then plugin config being appended when they
are later restored.
> In my case, this was causing the Crosswalk version defined in my top-level config.xml
to be overwritten by an undefined version when the plugin was installed. A workaround is to
run {{cordova prepare}} a second time.
> A better fix is probably to restore the platforms, restore the plugins, and then run
prepare after everything has been restored.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message