cordova-issues mailing list archives

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

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

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

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-android/pull/241

    CB-10112 Parse additional CLI arguments properly

    This fixes [CB-10112](https://issues.apache.org/jira/browse/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 https://github.com/MSOpenTech/cordova-android CB-10112

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

    https://github.com/apache/cordova-android/pull/241.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 #241
    
----
commit e2a7370ede82733164f903ff2130055e05bd5e20
Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
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: https://issues.apache.org/jira/browse/CB-10112
>             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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message