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 GitHub Bot (JIRA)" <ji...@apache.org> on 2014/06/05 08:22:01 UTC
[jira] [Commented] (CB-6878) Launching a specific Windows Emulator
using the run command fails when spaces are in the path
[ https://issues.apache.org/jira/browse/CB-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14018515#comment-14018515 ]
ASF GitHub Bot commented on CB-6878:
------------------------------------
GitHub user vladimir-kotikov opened a pull request:
https://github.com/apache/cordova-wp8/pull/38
CB-6878 Launching a specific Windows Emulator using the run command fails when spaces are in the path
When trying to run app on specific target using --target== key
```
cordova run wp8 --target=5E7661DF-D928-40ff-B747-A4B1957194F9
```
i get following error:
```
ERROR: command failed in deploy.js : d:\PROJECTS\Temp\test-spaces 2\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\bin\Debug\CordovaDeploy.exe d:\PROJECTS\Temp\test-spaces 2\platforms\wp8 -d:1
Error: the file d:\PROJECTS\Temp\test-spaces 2\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\bin\Debug\Properties\WMAppManifest.xml does not exist
```
Reason: command that start CordovaDeploy is not escaped in target() function.
Fix for [CB-6878](https://issues.apache.org/jira/browse/CB-6878)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-wp8 CB-6878
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-wp8/pull/38.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #38
----
commit 1bd7f196dcf22904a47905c93c522e2696c6b5eb
Author: Vladimir Kotikov <v-...@microsoft.com>
Date: 2014-06-05T06:17:12Z
Escapes paths in target() function
----
> Launching a specific Windows Emulator using the run command fails when spaces are in the path
> ---------------------------------------------------------------------------------------------
>
> Key: CB-6878
> URL: https://issues.apache.org/jira/browse/CB-6878
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, WP8
> Reporter: Vladimir Kotikov
> Assignee: Jesse MacFadyen
> Labels: CordovaDeploy, wp8
>
> When trying to run app on specific target using {{--target==}} key
> {noformat}
> cordova run wp8 --target=5E7661DF-D928-40ff-B747-A4B1957194F9
> {noformat}
> get following error:
> {noformat}
> ERROR: command failed in deploy.js : d:\PROJECTS\Temp\test-spaces 2\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\bin\Debug\CordovaDeploy.exe d:\PROJECTS\Temp\test-spaces 2\platforms\wp8 -d:1
> Error: the file d:\PROJECTS\Temp\test-spaces 2\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\bin\Debug\Properties\WMAppManifest.xml does not exist
> {noformat}
> Reason: command that start CordovaDeploy is not escaped in {{target()}} function.
--
This message was sent by Atlassian JIRA
(v6.2#6252)