cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Kinard (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7509) cordova fails to add wp8 platform with --usegit option
Date Wed, 10 Sep 2014 13:12:29 GMT

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

Marcel Kinard commented on CB-7509:
-----------------------------------

Does this affect only the --usegit option? Meaning, when the tarballs are hosted on npm will
it work OK? The reason I ask is to determine if this is a blocker for the 3.6.1 release.

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

Mime
View raw message