You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2015/01/23 21:52:35 UTC

[jira] [Resolved] (CB-7509) cordova fails to add wp8 platform with --usegit option

     [ https://issues.apache.org/jira/browse/CB-7509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse MacFadyen resolved CB-7509.
---------------------------------
    Resolution: Cannot Reproduce

This was addressed somewhere along the way.

> cordova fails to add wp8 platform with --usegit option
> ------------------------------------------------------
>
>                 Key: CB-7509
>                 URL: https://issues.apache.org/jira/browse/CB-7509
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 3.6.0
>            Reporter: Vladimir Kotikov
>            Assignee: Jesse MacFadyen
>            Priority: Critical
>              Labels: usegit, wp8
>             Fix For: 3.7.0
>
>
> *Repro steps*
> 1. Get cordova-cli and cordova-lib from [dist/dev|https://dist.apache.org/repos/dist/dev/cordova/CB-7383/]
> 1. Create empty cordova project
> 2. add WP8 platform with --usegit option: {{cdv platform add wp8 --usegit -d}}
> *Expected:* Platform successfully added
> *Actual:* command fails with following output:
> {noformat}
> Requesting {"url":"https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=3.6.1;sf=tgz","strictSSL":true}...
> Downloading cordova library for wp8... 
> Downloaded, unzipped and extracted 313341 byte response. 
> Download complete 
> Creating wp8 project... 
> Running command: C:\Users\vladimir.kotikov\.cordova\lib\wp\cordova\3.6.1\bin\create /s /c C:\Users\vladimir.kotikov\.cordova\lib\wp\cordova\3.6.1\bin\create d:\PROJECTS\Temp\test-usegit\platforms\wp8 
> io.cordova.hellocordova HelloCordova 
> Command finished with error code ENOENT: C:\Users\vladimir.kotikov\.cordova\lib\wp\cordova\3.6.1\bin\create /s,/c,C:\Users\vladimir.kotikov\.cordova\lib\wp\cordova\3.6.1\bin\create,d:\PROJECTS\Temp\test-usegit\platforms\wp8,io.cordova.hellocordova,HelloCordova
> Error: C:\Users\vladimir.kotikov\.cordova\lib\wp\cordova\3.6.1\bin\create: Command failed with exit code ENOENT 
>     at ChildProcess.whenDone (d:\cordova\cordova-lib\cordova-lib\src\cordova\superspawn.js:135:23) 
>     at ChildProcess.EventEmitter.emit (events.js:95:17) 
>     at Process.ChildProcess._handle.onexit (child_process.js:805:12)
> {noformat}
> Seems to be introduced by commit [60c42827|https://github.com/apache/cordova-lib/commit/60c42827a0e2c61729a65e904e798bf2e2830e7c]. 'subdirectory' field, that specifies directory inside repo, where platform package contents is placed was removes, so cordova can't find create script due to invalid path.
> Commit already included in 3.6.1 release and corresponding cordova-lib already pushed to dist/dev



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org