You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/04/03 23:51:18 UTC

[jira] [Commented] (CB-6398) Support command arguments for blackberry-nativepackager, blackberry-debugtokenrequest and blackberry-deploy in blackberry10.json

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

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

GitHub user jsoref opened a pull request:

    https://github.com/apache/cordova-blackberry/pull/153

    CB-6398 Support additional commands in blackberry10.json

    Enables proxy 
    
    blackberry10.json:
    ```json
    {
        "blackberry-signer": {
            "-proxyhost": "localhost",
            "-proxyport": "8100"
        },
        "blackberry-debugtokenrequest": {
            "-proxyhost": "localhost",
            "-proxyport": "8100"
        }
    }

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

    $ git pull https://github.com/blackberry/cordova-blackberry cb_6398

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

    https://github.com/apache/cordova-blackberry/pull/153.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 #153
    
----
commit 5fd7fdcbb47f05593e436f4772491aa2bdd59865
Author: Josh Soref <js...@blackberry.com>
Date:   2014-04-03T21:28:56Z

    Refactor getParams() out of session

commit 76041a6bfbcbdc5c425d6238c386ad25fd88df20
Author: Josh Soref <js...@blackberry.com>
Date:   2014-04-03T21:47:13Z

    CB-6398 Support additional commands in blackberry10.json
    
    blackberry-nativepackager
    blackberry-debugtokenrequest
    blackberry-deploy
    blackberry-signer

----


> Support command arguments for blackberry-nativepackager, blackberry-debugtokenrequest and blackberry-deploy in blackberry10.json
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-6398
>                 URL: https://issues.apache.org/jira/browse/CB-6398
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry
>    Affects Versions: 3.4.0
>            Reporter: Josh Soref
>            Assignee: Josh Soref
>
> blackberry-signer and blackberry-debugtokenrequest support configuring a proxy, however 3.4.0 doesn't expose this.
> With this change, this file:
> cat ~/.cordova/blackberry10.json 
> {
>     "blackberry-signer": {
>         "-proxyhost": "localhost",
>         "-proxyport": "8100"
>     },
>     "blackberry-debugtokenrequest": {
>         "-proxyhost": "localhost",
>         "-proxyport": "8100"
>     },
>     "blackberry-nativepackager": {
>     },
>     "blackberry-deploy": {
>     },
>     "this-field-is-ignored": true
> }
> Will result in proxy connections by blackberry-signer and blackberry-debugtokenrequest to a proxy running on localhost:8100 -- if it's answering.
> With these changes, you could in theory include "-debugNative": "" as a param for blackberry-deploy [I'm not sure why you would].
> With these changes, you could in theory include "-buildId": "42" as a param for blackberry-nativepackager (or use the less well documented "-buildIdFile": "/absolute/path/to/buildIdFile")



--
This message was sent by Atlassian JIRA
(v6.2#6252)