[
https://issues.apache.org/jira/browse/CB-6442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Kotikov updated CB-6442:
---------------------------------
Description:
1. Create new project with spaces in path.
2. cordova platform add windows8
3. cordova build windows8
Running command: cmd "/s /c ""d:\PROJECTS\Temp\test
app\platforms\windows8\cordova\build.bat"""
...
D:\PROJECTS\Temp\test
app\platforms\windows8\cordova\lib\ApplyPlatformConfig.ps1 : A positional
parameter cannot be found that accepts
argument 'app\platforms\windows8'.
same problem with
cordova run windows 8
To get this working we need to add additional quotes into powershell scripts
call.
was:
1. Create new project with spaces in path.
2. cordova platform add windows8
3. cordova build windows8
Running command: cmd "/s /c ""d:\PROJECTS\Temp\test
app\platforms\windows8\cordova\build.bat"""
...
D:\PROJECTS\Temp\test
app\platforms\windows8\cordova\lib\ApplyPlatformConfig.ps1 : A positional
parameter cannot be found that accepts
argument 'app\platforms\windows8'.
same problem with
cordova run windows 8
To get this working we need to add additional quoting into powershell scripts
call.
> build/run fails if project path contains spaces
> -----------------------------------------------
>
> Key: CB-6442
> URL: https://issues.apache.org/jira/browse/CB-6442
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI, Windows 8
> Affects Versions: 3.4.0
> Environment: Windows 8.1 Cordova CLI 3.4.1
> Reporter: Vladimir Kotikov
> Assignee: Jesse MacFadyen
> Fix For: 3.4.0
>
>
> 1. Create new project with spaces in path.
> 2. cordova platform add windows8
> 3. cordova build windows8
> Running command: cmd "/s /c ""d:\PROJECTS\Temp\test
> app\platforms\windows8\cordova\build.bat"""
> ...
> D:\PROJECTS\Temp\test
> app\platforms\windows8\cordova\lib\ApplyPlatformConfig.ps1 : A positional
> parameter cannot be found that accepts
> argument 'app\platforms\windows8'.
> same problem with
> cordova run windows 8
> To get this working we need to add additional quotes into powershell scripts
> call.
--
This message was sent by Atlassian JIRA
(v6.2#6252)