You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Zolotarev (JIRA)" <ji...@apache.org> on 2017/01/09 18:21:58 UTC

[jira] [Updated] (CB-12337) 'cordova emulate' errors if path contains symlink on Windows

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

Sergey Zolotarev updated CB-12337:
----------------------------------
    Description: 
If you are inside a directory that was entered via a symlink (created via mklink /D on Windows) cordova emulate android will fail with the following error:

```
Error: Source directory does not exist: C:\Users\szx\Work\Projects\MyProject\E:\Work\Projects\MyProject\platforms\android\platform_www
```

Here `C:\Users\szx\Work` is a symlink to `E:\Work`.

It looks like it concatenate the source and destination paths.

  was:
If you are inside a directory that was entered via a symlink (created via mklink /D on Windows) cordova emulate android will fail with the following error:

Error: Source directory does not exist: C:\Users\szx\Work\Projects\MyProject\E:\Work\Projects\MyProject\platforms\android\platform_www

Here `C:\Users\szx\Work` is a symlink to `E:\Work`.

It looks like it concatenate the source and destination paths.


> 'cordova emulate' errors if path contains symlink on Windows
> ------------------------------------------------------------
>
>                 Key: CB-12337
>                 URL: https://issues.apache.org/jira/browse/CB-12337
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, Windows
>    Affects Versions: 6.4.0
>         Environment: Windows 10 x64
>            Reporter: Sergey Zolotarev
>            Priority: Minor
>              Labels: win64
>
> If you are inside a directory that was entered via a symlink (created via mklink /D on Windows) cordova emulate android will fail with the following error:
> ```
> Error: Source directory does not exist: C:\Users\szx\Work\Projects\MyProject\E:\Work\Projects\MyProject\platforms\android\platform_www
> ```
> Here `C:\Users\szx\Work` is a symlink to `E:\Work`.
> It looks like it concatenate the source and destination paths.



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