You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/09/10 11:41:29 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14128278#comment-14128278 ] 

ASF subversion and git services commented on CB-7509:
-----------------------------------------------------

Commit 3a71397d82f6d50893edc9ab427a27995174be3d in cordova-lib's branch refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=3a71397 ]

CB-7509 Revert back subdirectory for wp8

This is necessary since 'cordova platform add wp8' with --usegit option fails due to invalid path to create script.


> 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)