[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=13897738#comment-13897738 ] Gert-Jan Braas commented on CB-5996: Created a one-line-patch https://github.com/Steckelfisch/cordova-plugman/commit/b7c32d8079526cfd9021713dfb61274d707bc0dc issued a pull-request to apache:master > 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, Plugman >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 > > (local src from git (3.4.0-rc.1)) > braas@chickenrun:~/projects/test$ cordova create FOSTEST > Creating a new cordova project with name "HelloCordova" and id > "io.cordova.hellocordova" at location "/var/tmp/braas/projects/test/FOSTEST" > Downloading cordova library for www... > Download complete > ~/projects/test$ cd FOSTEST > ~/projects/test$ cordova plugin add org.apache.cordova.geolocation > Fetching plugin "org.apache.cordova.geolocation" via plugin registry > ~/projects/test/FOSTEST$ cordova platform add firefoxos > Downloading cordova library for firefoxos... > Download complete > Creating firefoxos project... > Generating config.xml from defaults for platform "firefoxos" > Preparing firefoxos project > 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 > (/home/braas/npm/lib/node_modules/plugman/src/util/xml-helpers.js:119:27) > at Object.module.exports.package_name > (/home/braas/npm/lib/node_modules/plugman/src/platforms/firefoxos.js:10:38) > at Object.module.exports.generate_plugin_config_munge > (/home/braas/npm/lib/node_modules/plugman/src/util/config-changes.js:100:53) > at Object.module.exports.add_plugin_changes > (/home/braas/npm/lib/node_modules/plugman/src/util/config-changes.js:300:43) > at > /home/braas/npm/lib/node_modules/plugman/src/util/config-changes.js:440:28 > at Array.forEach (native) > at Object.module.exports.process > (/home/braas/npm/lib/node_modules/plugman/src/util/config-changes.js:439:49) > at Object.handlePrepare > (/home/braas/npm/lib/node_modules/plugman/src/prepare.js:69:20) > ~/projects/test/FOSTEST$ > ~/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)
[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)