cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Patterson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12838) Order of plugins in config.xml modified during build
Date Tue, 13 Jun 2017 19:58:00 GMT

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

Grant Patterson commented on CB-12838:
--------------------------------------

This is also a big headache for version control: when the order of config.xml elements change,
the file appears modified when it has not substantively changed.

> Order of plugins in config.xml modified during build
> ----------------------------------------------------
>
>                 Key: CB-12838
>                 URL: https://issues.apache.org/jira/browse/CB-12838
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-cli
>    Affects Versions: cordova@7.0.0
>         Environment: Mac OS 10.12.4, Cordova 7.0.1
>            Reporter: Anton Weber
>            Priority: Minor
>              Labels: android, ios
>
> Running cordova build android or cordova build ios changes the order in which plugins
are listed in the config.xml (arranging them alphabetically). 
> This causes problems when manually resolving dependencies, e.g. when installing a specific
version of a dependency first by having it higher up in the list.
> Example:
> Original config.xml content:
> ...
>     <plugin name="cordova-plugin-device" spec="^1.1.6" />
>     <plugin name="cordova-plugin-camera" spec="^2.4.1" />
>     <plugin name="cordova-plugin-whitelist" spec="^1.3.2" />
>     <engine name="android" spec="^6.2.3" />
>     <engine name="ios" spec="^4.4.0" />
> ...
> After cordova build:
> ...
>     <engine name="android" spec="^6.2.3" />
>     <engine name="ios" spec="^4.4.0" />
>     <plugin name="cordova-plugin-camera" spec="^2.4.1" />
>     <plugin name="cordova-plugin-device" spec="^1.1.6" />
>     <plugin name="cordova-plugin-whitelist" spec="^1.3.2" />
> ...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message