You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Wolfram Nikolas Müller (JIRA)" <ji...@apache.org> on 2014/07/04 12:58:33 UTC

[jira] [Updated] (CB-7077) Icons settings are not copied from custom manifest.webapp from {projektname}/www folder

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

Wolfram Nikolas Müller updated CB-7077:
---------------------------------------

    Description: 
Steps to reproduce:

Create a new project.
{noformat}
cordova create test com.test.test TestProject
{noformat}

Create custom manifest.webapp in test/www with
{code:javascript}
{ 
    "launch_path":"/index.html",
    "installs_allowed_from":["*"],
    "version":"0.0.1",
    "name":"My app",
    "pkgName":"io.cordova.hellocordova",
    "icons": {
        "128": "/img/logo.png"
    }
}
{code}

run
{noformat}
cordova prepare
{noformat}

the file manifest.webapp in test/platforms/firefoxos/www/ contains
{code:javascript}
{
    "launch_path": "/index.html",
    "installs_allowed_from": [
        "*"
    ],
    "version": "0.0.1",
    "name": "TwentyMinuteWorkoutLite",
    "pkgName": "com.twentyminuteworkoutapp.lite",
    "icons": {},
    "description": "A sample Apache Cordova application that responds to the deviceready event.",
    "developer": {
        "name": "Apache Cordova Team",
        "url": "http://cordova.io"
    }
}
{code}

Issue:
The icons hash is empty.


  was:
Steps to reproduce:

Create a new project.
{noformat}
cordova create test com.test.test TestProject
{noformat}

Create custom manifest.webapp in test/www with
{code:json}
{ 
    "launch_path":"/index.html",
    "installs_allowed_from":["*"],
    "version":"0.0.1",
    "name":"My app",
    "pkgName":"io.cordova.hellocordova",
    "icons": {
        "128": "/img/logo.png"
    }
}
{code}

run
{noformat}
cordova prepare
{noformat}

the file manifest.webapp in test/platforms/firefoxos/www/ contains
{code:json}
{
    "launch_path": "/index.html",
    "installs_allowed_from": [
        "*"
    ],
    "version": "0.0.1",
    "name": "TwentyMinuteWorkoutLite",
    "pkgName": "com.twentyminuteworkoutapp.lite",
    "icons": {},
    "description": "A sample Apache Cordova application that responds to the deviceready event.",
    "developer": {
        "name": "Apache Cordova Team",
        "url": "http://cordova.io"
    }
}
{code}

Issue:
The icons hash is empty.



> Icons settings are not copied from custom manifest.webapp from {projektname}/www folder
> ---------------------------------------------------------------------------------------
>
>                 Key: CB-7077
>                 URL: https://issues.apache.org/jira/browse/CB-7077
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.5.0
>            Reporter: Wolfram Nikolas Müller
>
> Steps to reproduce:
> Create a new project.
> {noformat}
> cordova create test com.test.test TestProject
> {noformat}
> Create custom manifest.webapp in test/www with
> {code:javascript}
> { 
>     "launch_path":"/index.html",
>     "installs_allowed_from":["*"],
>     "version":"0.0.1",
>     "name":"My app",
>     "pkgName":"io.cordova.hellocordova",
>     "icons": {
>         "128": "/img/logo.png"
>     }
> }
> {code}
> run
> {noformat}
> cordova prepare
> {noformat}
> the file manifest.webapp in test/platforms/firefoxos/www/ contains
> {code:javascript}
> {
>     "launch_path": "/index.html",
>     "installs_allowed_from": [
>         "*"
>     ],
>     "version": "0.0.1",
>     "name": "TwentyMinuteWorkoutLite",
>     "pkgName": "com.twentyminuteworkoutapp.lite",
>     "icons": {},
>     "description": "A sample Apache Cordova application that responds to the deviceready event.",
>     "developer": {
>         "name": "Apache Cordova Team",
>         "url": "http://cordova.io"
>     }
> }
> {code}
> Issue:
> The icons hash is empty.



--
This message was sent by Atlassian JIRA
(v6.2#6252)