[ https://issues.apache.org/jira/browse/CB-4196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Braden Shepherdson reassigned CB-4196: -------------------------------------- Assignee: Braden Shepherdson (was: Filip Maj) This is nontrivial to fix, since we don't actually have the check_requirements scripts before lazy loading the platform. It would be a significant change to bundle those into CLI. I recently implemented "Available platforms" as part of the output of "cordova platform ls", but that doesn't check whether you have the necessary SDKs and such, just whether your platform can, in principle, install those platforms (ie. Mac only for iOS, BB10 and Android everywhere, Windows only for WP7+8). > 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