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 Grebnov (JIRA)" <ji...@apache.org> on 2014/09/23 09:23:34 UTC
[jira] [Commented] (CB-7617) Deploy on WP8.1 incorrectly handles
--target name
[ https://issues.apache.org/jira/browse/CB-7617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14144495#comment-14144495 ]
Sergey Grebnov commented on CB-7617:
------------------------------------
This is due to the following code - it uses partial match and 512 version is listed first
{code}
module.exports.findDevice = function (target) {
return module.exports.listDevices().then(function(deviceList) {
for (var idx in deviceList){
if (deviceList[idx].indexOf(target) > -1) {
return Q.resolve(idx);
}
}
return Q.reject('Specified device not found');
});
};
{code}
> Deploy on WP8.1 incorrectly handles --target name
> -------------------------------------------------
>
> Key: CB-7617
> URL: https://issues.apache.org/jira/browse/CB-7617
> Project: Apache Cordova
> Issue Type: Bug
> Components: Windows, WP8.1
> Affects Versions: 3.6.0
> Reporter: Sergey Grebnov
> Assignee: Sergey Grebnov
> Labels: deploy, windows, wp8.1
>
> Repro steps
> 1. Create cordova app
> 2. Add windows platform
> 3. Run command below
> {code}
> cordova run windows --target="Emulator 8.1 WVGA 4 inch" -- --phone
> {code}
> 4. Observe 'Emulator 8.1 WVGA 4 inch 512MB' is launched instead of 'Emulator 8.1 WVGA 4 inch'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)