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

Sergey Grebnov commented on CB-5183:
------------------------------------

just tested, 
1) platform add works just fine
2) platform update does not work 

  a) in case of custom path

  c:\projects\git\cordova-medic\slave_windows\WP8_Master\build\mobilespec>node 
../cordova-cli/bin/cordova platform update wp8
  Downloading cordova-wp8-master library for wp8...
  [Error: Error running update script: Error: Command failed: Cannot read 
non-existant file : 
c:\projects\git\cordova-medic\slave_windows\WP8_Master\build\cordova-wp8\wp8\VERSION
  Cannot read non-existant file : 
c:\projects\git\cordova-medic\slave_windows\WP8_Master\build\cordova-wp8\wp8\VERSION]

  b) normal case where platform is automatically downloaded and stored in 
special place

  c:\projects\git\cordova-medic\slave_windows\WP8_Master\build\mobilespec>node 
../cordova-cli/bin/cordova platform update wp8
  Downloading cordova library for wp8...
  Download complete
  [Error: Error running update script: Error: Command failed: Cannot read 
non-existant file : 
C:\Users\Administrator\.cordova\lib\wp\cordova\3.2.0\wp8\VERSION
  Cannot read non-existant file : 
C:\Users\Administrator\.cordova\lib\wp\cordova\3.2.0\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)

Reply via email to