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

ASF GitHub Bot commented on CB-10592:
-------------------------------------

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-lib/pull/386

    CB-10592 Don't quote platform specific args values

    See JIRA [CB-10592](https://issues.apache.org/jira/browse/CB-10592)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-lib CB-10592

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/386.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 #386
    
----
commit 7e3100492adfc87af6175117e9765cccc65e27a3
Author: Vladimir Kotikov <[email protected]>
Date:   2016-02-11T12:28:03Z

    CB-10592 Don't quote platform specific args values

commit 87b8bedc29e867d7da2745ff36a3107c7b15bc80
Author: Vladimir Kotikov <[email protected]>
Date:   2016-02-11T14:03:45Z

    CB-10592 Add tests to cover the argiments compatibility logic

----


> cordova additionally quotes platform specific arguments when used 
> programmatically
> ----------------------------------------------------------------------------------
>
>                 Key: CB-10592
>                 URL: https://issues.apache.org/jira/browse/CB-10592
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 6.0.0
>         Environment: [email protected], OS X or *nix machine
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov
>
> Some platform-specific arguments (such as {{--gradleArg}}) is additionally 
> quoted, when options passed to {{cordova.raw}} API using old format. Though 
> this is not a problem on Windows, because the command processor on handles 
> such arguments correctly, on OS X this leads to unexpected failures.
> For example running 
> {noformat}
> cordova.raw.build({
>     platforms: [android],
>     options: ["--gradleArg=--no-daemon"]
> })
> {noformat}
> causes gradle build failure with following message {{Task '"--no-daemon"' not 
> found in root project 'android'.}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to