cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert-Jan Braas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-5996) config.xml in platforms/firefoxos/www instead of platforms/firefoxos
Date Sun, 09 Feb 2014 20:27:20 GMT

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

Gert-Jan Braas updated CB-5996:
-------------------------------

    Description: 
~/projects/test$ cordova create FOSTEST
Creating a new cordova project with name "HelloCordova" and id "io.cordova.hellocordova" at
location "~/projects/test/FOSTEST"
~/projects/test$ cd FOSTEST
~/projects/test/FOSTEST$ cordova platform add firefoxos
~/projects/test/FOSTEST$ cordova plugin add org.apache.cordova.geolocation
Fetching plugin "org.apache.cordova.geolocation" via plugin registry
Starting installation of "org.apache.cordova.geolocation" for firefoxos
Preparing firefoxos project
Error: ENOENT, no such file or directory '/home/braas/projects/test/FOSTEST/platforms/firefoxos/www/config.xml'
    at Object.fs.openSync (fs.js:427:18)
    at Object.fs.readFileSync (fs.js:284:15)
    at Object.module.exports.parseElementtreeSync (/usr/lib/node_modules/cordova/node_modules/plugman/src/util/xml-helpers.js:119:27)
    at Object.module.exports.package_name (/usr/lib/node_modules/cordova/node_modules/plugman/src/platforms/firefoxos.js:10:38)
    at Object.module.exports.generate_plugin_config_munge (/usr/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:100:53)
    at Object.module.exports.add_plugin_changes (/usr/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:300:43)
    at /usr/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:440:28
    at Array.forEach (native)
    at Object.module.exports.process (/usr/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:439:49)
    at Object.handlePrepare (/usr/lib/node_modules/cordova/node_modules/plugman/src/prepare.js:69:20)

~/projects/test/FOSTEST$ ls platforms/firefoxos/www
cordova.js  cordova_plugins.js  css  img  index.html  js  manifest.webapp
:~/projects/test/FOSTEST$ ls platforms/firefoxos
config.xml  cordova  platform_www  www



> config.xml in platforms/firefoxos/www instead of platforms/firefoxos
> --------------------------------------------------------------------
>
>                 Key: CB-5996
>                 URL: https://issues.apache.org/jira/browse/CB-5996
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: FirefoxOS
>    Affects Versions: 3.3.0, 3.4.0
>         Environment: Ubuntu 13.10
>            Reporter: Gert-Jan Braas
>            Priority: Blocker
>             Fix For: 3.4.0
>
>
> ~/projects/test$ cordova create FOSTEST
> Creating a new cordova project with name "HelloCordova" and id "io.cordova.hellocordova"
at location "~/projects/test/FOSTEST"
> ~/projects/test$ cd FOSTEST
> ~/projects/test/FOSTEST$ cordova platform add firefoxos
> ~/projects/test/FOSTEST$ cordova plugin add org.apache.cordova.geolocation
> Fetching plugin "org.apache.cordova.geolocation" via plugin registry
> Starting installation of "org.apache.cordova.geolocation" for firefoxos
> Preparing firefoxos project
> Error: ENOENT, no such file or directory '/home/braas/projects/test/FOSTEST/platforms/firefoxos/www/config.xml'
>     at Object.fs.openSync (fs.js:427:18)
>     at Object.fs.readFileSync (fs.js:284:15)
>     at Object.module.exports.parseElementtreeSync (/usr/lib/node_modules/cordova/node_modules/plugman/src/util/xml-helpers.js:119:27)
>     at Object.module.exports.package_name (/usr/lib/node_modules/cordova/node_modules/plugman/src/platforms/firefoxos.js:10:38)
>     at Object.module.exports.generate_plugin_config_munge (/usr/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:100:53)
>     at Object.module.exports.add_plugin_changes (/usr/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:300:43)
>     at /usr/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:440:28
>     at Array.forEach (native)
>     at Object.module.exports.process (/usr/lib/node_modules/cordova/node_modules/plugman/src/util/config-changes.js:439:49)
>     at Object.handlePrepare (/usr/lib/node_modules/cordova/node_modules/plugman/src/prepare.js:69:20)
> ~/projects/test/FOSTEST$ ls platforms/firefoxos/www
> cordova.js  cordova_plugins.js  css  img  index.html  js  manifest.webapp
> :~/projects/test/FOSTEST$ ls platforms/firefoxos
> config.xml  cordova  platform_www  www



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message