[ https://issues.apache.org/jira/browse/CB-5183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13823371#comment-13823371 ]
Stephan Wezel edited comment on CB-5183 at 11/15/13 7:23 AM: ------------------------------------------------------------- [~jsoref]: it doesn't work for update First there is a typo in the change. in line 121 in src/platform.js instead of "target" it should be "plat" : libDir = path.join(libDir, plat); Second the Update script fails with following error: Error: Error running update script: Error: Command failed: Cannot read non-existant file : C:\Users\stephanw\.cordova\lib\wp\cordova\3.2.0-rc1\wp8\VERSION Cannot read non-existant file : C:\Users\stephanw\.cordova\lib\wp\cordova\3.2.0-rc1\wp8\VERSION For the record: I applied the changes from commit https://github.com/apache/cordova-cli/commit/19513a1c31e5cb44971a7c751adef70d66f39ffd to the 3.2.0-rc1 version of cordova cli. was (Author: thewolfwillcome): [~jsoref]: it doesn't work for update First there is a typo in the change. in line 121 in src/platform.js instead of "target" it should be "plat" : libDir = path.join(libDir, plat); Second the Update script fails with following error: Error: Error running update script: Error: Command failed: Cannot read non-existant file : C:\Users\stephanw\.cordova\lib\wp\cordova\3.2.0-rc1\wp8\VERSION Cannot read non-existant file : C:\Users\stephanw\.cordova\lib\wp\cordova\3.2.0-rc1\wp8\VERSION > WP7/8 lib path is not correctly resolved by CLI > ----------------------------------------------- > > Key: CB-5183 > URL: https://issues.apache.org/jira/browse/CB-5183 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Reporter: Sergey Grebnov > Assignee: Josh Soref > Priority: Minor > Attachments: cordova_wp8_wp7_cli.patch > > > Steps to reproduce > 1. Install latest cordova-cli from git repo > 2. Create new project App using 'cordova create App' CLI command > 3. Update app/.cordova/config.json to point to custom cordova-wp8 repo > For example > { "id":"org.apache.mobilespec", "name":"mobilespec", "lib": { "wp8": { > "uri": "c:\\..\\cordova-wp8", "version": "3.1.0", "id": > "cordova-wp8-master" } }} > 4. Run 'cordova platform add wp8' commands > Expected: command succeeded. > Actually: command failed with the message below > Error: Error while checking requirements: > '"c:\..\cordova-wp8\bin\check_reqs"' is not recognized as an internal or > external command, > operable program or batch file. -- This message was sent by Atlassian JIRA (v6.1#6144)