[ https://issues.apache.org/jira/browse/CB-5183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822456#comment-13822456 ]
Stephan Wezel commented on CB-5183: ----------------------------------- [~jsoref]: I have done a clean install of cordova 3.2.0-rc1 and applied the changes form the mentioned pull request. And also my change in wp8_parser.js mentioned in my last comment. And I also got the error that common\www\cordova.js couldn't be found. to solve this problem I changed how the files for an wp8/wp7 project are moved after the downloaded file is extracted. the content of the subfolder (here wp8 or wp7) is first copied to parent folder. After that the whole content of the extraction temp dir is moved to the download dir. I will attache an patch file with the changes. After this change the platform add and update commands work for the platform wp8. Only the update command itself of the wp8 platform fails with following error: cordova platform update wp8 -d cordova library for "wp8" already exists. No need to download. Continuing. Error: Error running update script: Error: Command failed: Error : Could not copy file/folder because it doesn't exist. File/Folder : C:\Users\stephanw\.cordova\lib\wp8\cordova\3.2.0-rc1\templates\standalone\cordova Error : Could not copy file/folder because it doesn't exist. File/Folder : C:\Users\stephanw\.cordova\lib\wp8\cordova\3.2.0-rc1\templates\standalone\cordova But this looks like another bug. > 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 > > 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)