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 subversion and git services (JIRA)" <ji...@apache.org> on 2014/05/14 02:45:17 UTC

[jira] [Commented] (CB-6676) WP Platform Scripts Support Unknown Flags

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

ASF subversion and git services commented on CB-6676:
-----------------------------------------------------

Commit a423cef344d79458c246a88cc5580185dec07d82 in cordova-wp8's branch refs/heads/master from [~purplecabbage]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=a423cef ]

CB-6676 allow extra params to build/run and ignore them


> WP Platform Scripts Support Unknown Flags
> -----------------------------------------
>
>                 Key: CB-6676
>                 URL: https://issues.apache.org/jira/browse/CB-6676
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7, WP8
>    Affects Versions: 3.4.0
>            Reporter: Michael Brooks
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>             Fix For: 3.6.0
>
>
> *Expected Result*
> A platform script should silently ignore unknown flags (parameters).
> For example, {{--custom-flag}}
> The reason is that Cordova CLI hooks can be used to enable custom flags.
> *Current Result*
> On WP, unknown flags [cause the script to exit with an error code|https://github.com/apache/cordova-wp8/blob/master/wp8/template/cordova/lib/deploy.js#L324-L326].
> On Android and iOS,the expected behaviour is matched.



--
This message was sent by Atlassian JIRA
(v6.2#6252)