You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2013/07/18 21:24:51 UTC

[jira] [Resolved] (CB-4284) cordova build [PLATFORM] does not consume www/config.xml

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

Filip Maj resolved CB-4284.
---------------------------

    Resolution: Later

Correct, CB-1108 tracks the overall progress of adhering to the config.xml spec fully.

Only a few parts of the config.xml in the www directory is used / consumed by the underlying platforms, so you cannot expect the exact contents of the config.xml from www/ to be copied over to the platform-specific locations.

For a full list of support [check out the README|https://github.com/apache/cordova-cli#your-blanket-configxml], basically: name, version, id, whitelist and preference elements.
                
> cordova build [PLATFORM] does not consume www/config.xml
> --------------------------------------------------------
>
>                 Key: CB-4284
>                 URL: https://issues.apache.org/jira/browse/CB-4284
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.0.0
>         Environment: ├─┬ cordova@3.0.0-rc1-1
> │ ├── colors@0.6.0
> │ ├─┬ elementtree@0.1.3
> │ │ └── sax@0.3.5
> │ ├─┬ express@3.0.0
> │ │ ├── commander@0.6.1
> │ │ ├─┬ connect@2.6.0
> │ │ │ ├── bytes@0.1.0
> │ │ │ ├── formidable@1.0.11
> │ │ │ ├── pause@0.0.1
> │ │ │ ├── qs@0.5.1
> │ │ │ └─┬ send@0.0.4
> │ │ │   └── mime@1.2.6
> │ │ ├── cookie@0.0.4
> │ │ ├── crc@0.2.0
> │ │ ├── debug@0.7.2
> │ │ ├── fresh@0.1.0
> │ │ ├── methods@0.0.1
> │ │ ├── mkdirp@0.3.3
> │ │ ├── range-parser@0.0.4
> │ │ └─┬ send@0.1.0
> │ │   └── mime@1.2.6
> │ ├─┬ follow-redirects@0.0.3
> │ │ └── underscore@1.5.1
> │ ├─┬ glob@3.2.3
> │ │ ├── graceful-fs@2.0.0
> │ │ ├── inherits@2.0.0
> │ │ └─┬ minimatch@0.2.12
> │ │   ├── lru-cache@2.3.0
> │ │   └── sigmund@1.0.0
> │ ├── ncallbacks@1.0.0
> │ ├── open@0.0.3
> │ ├─┬ plist@0.4.3
> │ │ ├── xmlbuilder@0.4.2
> │ │ └── xmldom@0.1.16
> │ ├─┬ plugman@0.9.8
> │ │ ├── bplist-parser@0.0.4
> │ │ ├─┬ dep-graph@1.1.0
> │ │ │ └── underscore@1.2.1
> │ │ ├── ncallbacks@1.1.0
> │ │ ├─┬ nopt@1.0.10
> │ │ │ └── abbrev@1.0.4
> │ │ ├── osenv@0.0.3
> │ │ ├── semver@2.0.10
> │ │ ├── underscore@1.4.4
> │ │ └─┬ xcode@0.6.1
> │ │   ├── node-uuid@1.3.3
> │ │   └── pegjs@0.6.2
> │ ├─┬ prompt@0.2.7
> │ │ ├── pkginfo@0.3.0
> │ │ ├─┬ read@1.0.5
> │ │ │ └── mute-stream@0.0.4
> │ │ ├── revalidator@0.1.5
> │ │ ├─┬ utile@0.1.7
> │ │ │ ├── async@0.1.22
> │ │ │ ├── deep-equal@0.0.0
> │ │ │ ├── i@0.3.1
> │ │ │ ├── mkdirp@0.3.5
> │ │ │ ├── ncp@0.2.7
> │ │ │ └── rimraf@1.0.9
> │ │ └─┬ winston@0.6.2
> │ │   ├── async@0.1.22
> │ │   ├── cycle@1.0.2
> │ │   ├── eyes@0.1.8
> │ │   ├── pkginfo@0.2.3
> │ │   ├── request@2.9.203
> │ │   └── stack-trace@0.0.6
> │ ├─┬ request@2.22.0
> │ │ ├── aws-sign@0.3.0
> │ │ ├── cookie-jar@0.3.0
> │ │ ├── forever-agent@0.5.0
> │ │ ├─┬ form-data@0.0.8
> │ │ │ ├── async@0.2.9
> │ │ │ └─┬ combined-stream@0.0.4
> │ │ │   └── delayed-stream@0.0.5
> │ │ ├─┬ hawk@0.13.1
> │ │ │ ├─┬ boom@0.4.2
> │ │ │ │ └── hoek@0.9.1
> │ │ │ ├── cryptiles@0.2.2
> │ │ │ ├── hoek@0.8.5
> │ │ │ └─┬ sntp@0.2.4
> │ │ │   └── hoek@0.9.1
> │ │ ├─┬ http-signature@0.10.0
> │ │ │ ├── asn1@0.1.11
> │ │ │ ├── assert-plus@0.1.2
> │ │ │ └── ctype@0.5.2
> │ │ ├── json-stringify-safe@4.0.0
> │ │ ├── mime@1.2.9
> │ │ ├── node-uuid@1.4.0
> │ │ ├── oauth-sign@0.3.0
> │ │ ├── qs@0.6.5
> │ │ └── tunnel-agent@0.3.0
> │ ├─┬ ripple-emulator@0.9.18
> │ │ ├── accounting@0.3.2
> │ │ ├── colors@0.6.0-1
> │ │ ├── connect-xcors@0.5.2
> │ │ ├─┬ express@3.1.0
> │ │ │ ├── buffer-crc32@0.1.1
> │ │ │ ├── commander@0.6.1
> │ │ │ ├─┬ connect@2.7.2
> │ │ │ │ ├── bytes@0.1.0
> │ │ │ │ ├── formidable@1.0.11
> │ │ │ │ ├── pause@0.0.1
> │ │ │ │ └── qs@0.5.1
> │ │ │ ├── cookie@0.0.5
> │ │ │ ├── cookie-signature@0.0.1
> │ │ │ ├── debug@0.7.2
> │ │ │ ├── fresh@0.1.0
> │ │ │ ├── methods@0.0.1
> │ │ │ ├── mkdirp@0.3.3
> │ │ │ ├── range-parser@0.0.4
> │ │ │ └─┬ send@0.1.0
> │ │ │   └── mime@1.2.6
> │ │ ├── moment@1.7.2
> │ │ └─┬ request@2.12.0
> │ │   ├─┬ form-data@0.0.3
> │ │   │ ├── async@0.1.9
> │ │   │ └─┬ combined-stream@0.0.3
> │ │   │   └── delayed-stream@0.0.5
> │ │   └── mime@1.2.7
> │ ├── semver@1.1.0
> │ ├── shelljs@0.1.2
> │ ├─┬ tar@0.1.17
> │ │ ├── block-stream@0.0.6
> │ │ ├─┬ fstream@0.1.23
> │ │ │ ├── graceful-fs@2.0.0
> │ │ │ ├── mkdirp@0.3.5
> │ │ │ └─┬ rimraf@2.2.1
> │ │ │   └── graceful-fs@1.2.3
> │ │ └── inherits@1.0.0
> │ └─┬ xcode@0.5.1
> │   ├── node-uuid@1.3.3
> │   └── pegjs@0.6.2
>            Reporter: Janson Hartliep
>            Assignee: Filip Maj
>              Labels: config, documentation, newbie
>
> The larger question is *how* to use config.xml, given a huge disconnect between cordova and phonegap as well as changing config.xml on each point version. 
> Possible documentation sources which all differ?!
> * https://github.com/phonegap/phonegap-start/blob/master/www/config.xml
> * https://github.com/apache/cordova-cli/blob/master/templates/config.xml
> * https://build.phonegap.com/docs/config-xml
> Steps to Reproduce:
> * create a project with cordova-cli
> * change www/config.xml
> * add a platform
> * build the platform
> Result: platform specific config.xml only sort of but not really uses any values from www/config.xml
> I will attach what I'm trying to do, but even simple things like the name and description don't get compiled!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira