cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-10112) Cannot pass through CLI arguments with cordova-android@5
Date Wed, 02 Dec 2015 15:15:11 GMT


ASF GitHub Bot commented on CB-10112:

GitHub user vladimir-kotikov opened a pull request:

    CB-10112 Parse additional CLI arguments properly

    This fixes [CB-10112]( by updating `build.js`
to take an addtional platform options (passed behing `--`) from correct options object 

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

    $ git pull CB-10112

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #241
commit e2a7370ede82733164f903ff2130055e05bd5e20
Author: Vladimir Kotikov <>
Date:   2015-12-02T14:46:44Z

    CB-10112 Parse additional CLI arguments properly


> Cannot pass through CLI arguments with cordova-android@5
> --------------------------------------------------------
>                 Key: CB-10112
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CLI
>    Affects Versions: 5.4.0, 5.4.1
>         Environment: Mac OSX El Capitan
>            Reporter: Christian Cook
>            Assignee: Vladimir Kotikov
> Since updating to cordova 5.4.1 and cordova-android 5.0.0 I have not been able to pass
through additional arguments in the CLI. For example, I am trying to perform the following:
> cordova build android -- --gradleArg="-PactiveFlavor=beta"
> On previous versions, this would get picked up by my custom build-extras.gradle file
so I can specify what flavor of app to produce. Since updating the property never makes it
through and doesn't get assigned.
> There have been discussions on this issue within the #cordova-android slack channel,
and it appears to be caused by /cordova/lib/build.js not finding the converted argument options.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message