[
https://issues.apache.org/jira/browse/CB-4196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13777929#comment-13777929
]
Braden Shepherdson commented on CB-4196:
----------------------------------------
One possibility would be to fetch these check_requirements scripts from the
tagged version in git, rather than bundling them into CLI. I'll poke at this
and see how practical/fast it is.
> Run requirements check before lazy load
> ---------------------------------------
>
> Key: CB-4196
> URL: https://issues.apache.org/jira/browse/CB-4196
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.0.0
> Environment: Windows 7.
> Reporter: John M. Wargo
> Assignee: Braden Shepherdson
> Priority: Minor
> Fix For: 3.1.0
>
>
> trying to create a new BlackBerry project and forgot to execute the BBNDK
> environment setup first. Looking at the error that's generated, shouldn't
> the CLI be checking for BlackBerry requirements before downloading the
> BlackBerry project files via lazy load?
> cordova -d platform add blackberry
> Requesting
> https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;a=snapshot;h=2.9.0;sf=tgz...
> Download complete. Extracting...
> Checking if platform "blackberry" passes minimum requirements...
> undefined
> The process fails because my environment isn't setup correctly, but doesn't
> tell me why. With -d enabled, it doesn't report the results of the failure to
> the console.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira