cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Khandelwal (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-10717) Command-line build options ignored without buildConfig
Date Mon, 29 Feb 2016 17:57:18 GMT

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

Nikhil Khandelwal edited comment on CB-10717 at 2/29/16 5:56 PM:
-----------------------------------------------------------------

You need a -- to separate platform-specific arguments. For example:

{code}
$ cordova/build android -- --release --keystore foo.keystore
{code}

[~riknoll] Could we improve the docs to include an example?


was (Author: nikhilkh):
You need a -- to separate platform-specific arguments. For example:

{code}
$ cordova/build android -- --release --keystore foo.keystore
{code}

@riknoll Could we improve the docs to include an example?

> Command-line build options ignored without buildConfig
> ------------------------------------------------------
>
>                 Key: CB-10717
>                 URL: https://issues.apache.org/jira/browse/CB-10717
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 5.1.1
>            Reporter: Jacob Weber
>              Labels: triaged, wfc
>
> Using a non-CLI project, I tried to run the cordova/build script, passing it the various
keystore arguments described [here|http://cordova.apache.org/docs/en/dev/guide/platforms/android/index.html#signing-an-app]
under "Using Flags".
> For example,
> {code}
> $ cd /myproject/android
> $ cordova/build android --release --keystore foo.keystore
> {code}
> But the arguments are ignored. It looks like the tool only sees them if I pass --buildConfig
and create a config file. But then the arguments are unnecessary.



--
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