[
https://issues.apache.org/jira/browse/CB-5675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13854589#comment-13854589
]
Michael Stanford commented on CB-5675:
--------------------------------------
Changing the defaults.xml file is a good idea, but wouldn't a complete fix also
add "name" and "description" to the SINGLETONS list in config_parser.js?
Unless you can think of a situation in which somebody would want two different
"name" fields in the output file when they merge XML files.
Best regards,
Michael.
> Can't get rid of <name>Hello Cordova</name> from config.xml
> -------------------------------------------------------------
>
> Key: CB-5675
> URL: https://issues.apache.org/jira/browse/CB-5675
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.2.0
> Environment: OSX/IOS
> Reporter: Michael Stanford
> Fix For: Master
>
>
> config_parser.js merges your www/config.xml in on top of cordova/defaults.xml
> to produce your platform/<project>/config.xml.
> I don't like seeing "Hello Cordova" in there as the name of the project in
> addition to the one that I gave it. Same with the description. I am concerned
> that it confuses Xcode as well.
> So I changed the SINGLETONS array in config_parser.merge_with() from:
> ["content", "author"]
> to:
> ["content", "author","description","name"]
> Which seems to have fixed my problem.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)