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/05/11 00:05:08 UTC

[jira] [Commented] (CB-6669) createmobilespec.js doesn't work with the blackberry10 option

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

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

GitHub user BBosman opened a pull request:

    https://github.com/apache/cordova-mobile-spec/pull/63

    CB-6669 Fix blackberry10 path

    The blackberry10 code doesn't reside in the root of the blackberry respository, as is the case with the other platform repositories.
    
    This commit adds the required blackberry10 subdirectory to the config.json written by createmobilespec.js
    
    Output after calling
    ```
    cordova-mobile-spec\createmobilespec\createmobilespec.js --blackberry10
    ```
    
    ```
    Creating project. If you have any errors, it may be from missing repositories.
    To clone needed repositories (android as an example):
      ./cordova-coho/coho repo-clone -r plugins -r mobile-spec -r android -r cli
    To update all repositories:
      ./cordova-coho/coho repo-update
    Creating project mobilespec...
    Creating a new cordova project with name "MobileSpec_Tests" and id "org.apache.cordova.mobilespec" at location "C:\GitHub\mobilespec"
    Using custom www assets from C:\GitHub\cordova-mobile-spec
    C:\GitHub\mobilespec C:\GitHub
    Adding platforms...
    Adding Platform: blackberry10
    Checking if platform "blackberry10" passes minimum requirements...
    Requirements check failed: blackberry-nativepackager cannot be found on the path. Aborting.```
    ```
    
    I don't have the blackberry10 toolset installed, so check_req fails, but check_req is now at least invoked. :)


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

    $ git pull https://github.com/BBosman/cordova-mobile-spec CB-6669

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

    https://github.com/apache/cordova-mobile-spec/pull/63.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 #63
    
----
commit 12c29a5e4f6af1a5703f511aea159620603d0ad1
Author: Bas Bosman <gi...@nazgul.nu>
Date:   2014-05-10T11:59:41Z

    Fix path

----


> createmobilespec.js doesn't work with the blackberry10 option
> -------------------------------------------------------------
>
>                 Key: CB-6669
>                 URL: https://issues.apache.org/jira/browse/CB-6669
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: mobile-spec
>            Reporter: Shazron Abdullah
>            Assignee: Bas Bosman
>
> In the root folder of all my repos:
> {code}
> ./cordova-mobile-spec/createmobilespec/createmobilespec.js --blackberry10
> {code}
> I get this error:
> {code}
> Creating project. If you have any errors, it may be from missing repositories.
> To clone needed repositories (android as an example):
>   ./cordova-coho/coho repo-clone -r plugins -r mobile-spec -r android -r cli
> To update all repositories:
>   ./cordova-coho/coho repo-update
> Creating project mobilespec...
> Creating a new cordova project with name "MobileSpec_Tests" and id "org.apache.cordova.mobilespec" at location "/Users/shaz/Documents/Git/Apache/mobilespec"
> Using custom www assets from /Users/shaz/Documents/Git/Apache/cordova-mobile-spec
> /Users/shaz/Documents/Git/Apache/mobilespec /Users/shaz/Documents/Git/Apache
> Adding platforms...
> Adding Platform: blackberry10
> Checking if platform "blackberry10" passes minimum requirements...
> Requirements check failed: /bin/sh: /Users/shaz/Documents/Git/Apache/cordova-blackberry/bin/check_reqs: No such file or directory
> {code}
> Note here that check_reqs should be in `Users/shaz/Documents/Git/Apache/cordova-blackberry/*blackberry10*/bin/check_reqs`



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