You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikhil Khandelwal (JIRA)" <ji...@apache.org> on 2016/02/29 18:57:18 UTC
[jira] [Comment Edited] (CB-10717) Command-line build options
ignored without buildConfig
[ 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