You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Josh Soref (JIRA)" <ji...@apache.org> on 2014/07/07 20:24:34 UTC
[jira] [Commented] (CB-2606) Add support for elements in
config.xml
[ https://issues.apache.org/jira/browse/CB-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053966#comment-14053966 ]
Josh Soref commented on CB-2606:
--------------------------------
So, for the record, this change has caused us to get errors in pre-existing blackberry10 cordova based things.
{quote}
cp: no such file or directory: /tmp/qqr/img/windowcover.png
cp: no such file or directory: /tmp/qqr/img/windowcover.png
{quote}
* *project* https://github.com/blackberry/cordova-blackberry-plugins/blob/27223093e94f2198bd58d6ec78b63eca4eaebd6a/test/test-app/
* {{www/config.xml}} https://github.com/blackberry/cordova-blackberry-plugins/blob/27223093e94f2198bd58d6ec78b63eca4eaebd6a/test/test-app/config.xml#L67
* {{www/img/windowcover.png}} https://github.com/blackberry/cordova-blackberry-plugins/blob/27223093e94f2198bd58d6ec78b63eca4eaebd6a/test/test-app/img/windowcover.png
... and things were perfectly happy before this change.
Normally we build this using:
{quote}
webworks create new_directory com.example.blackberry.test-app "Test App" /path/to/test/test-app
{quote}
But you can get the same results by doing:
{quote}
cordova create new_directory com.example.blackberry.test-app "Test App" --copy-from=/path/to/test/test-app
cd new_directory
cordova platform add blackberry10
{quote}
> Add support for <icon> elements in config.xml
> ---------------------------------------------
>
> Key: CB-2606
> URL: https://issues.apache.org/jira/browse/CB-2606
> Project: Apache Cordova
> Issue Type: Wish
> Components: Docs
> Reporter: Filip Maj
> Assignee: Mark Koudritsky
>
> This feature would add support for specifying the application icon by changing values inside the {{config.xml}} document.
> Relevant details for Cordova:
> - {{<icon>}} elements _may_ have {{width}} and {{height}} attributes representing the preferred size of the icon in CSS pixels.
> - {{<icon>}} elements _must_ have a {{src}} attribute, which contains a path string relative to the {{www/}} folder (or equivalent) in the platform.
> See [the Widget Spec's section on icons|http://www.w3.org/TR/widgets/#the-icon-element-and-its-attributes] for specifics.
--
This message was sent by Atlassian JIRA
(v6.2#6252)