You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Gert-Jan Braas (JIRA)" <ji...@apache.org> on 2014/02/09 21:39:19 UTC

[jira] [Commented] (CB-5996) config.xml in platforms/firefoxos/www instead of platforms/firefoxos

    [ https://issues.apache.org/jira/browse/CB-5996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13896030#comment-13896030 ] 

Gert-Jan Braas commented on CB-5996:
------------------------------------

looking through the stacktrace, it seems that it fails to use my git version of cordova-firefoxos.

The description above should be against 3.4.0. I will test a bit more, and remove the 3.4.0 version if aplicable


> 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, installed from npm repository (3.3.1-0.3.1) and from git repo (3.3.0 and 3.4.0)
>            Reporter: Gert-Jan Braas
>            Priority: Blocker
>
> ~/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)