Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6CD33D951 for ; Fri, 8 Feb 2013 23:04:44 +0000 (UTC) Received: (qmail 60440 invoked by uid 500); 8 Feb 2013 23:04:44 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 60417 invoked by uid 500); 8 Feb 2013 23:04:44 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 60410 invoked by uid 99); 8 Feb 2013 23:04:44 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2013 23:04:44 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 21B453AC87; Fri, 8 Feb 2013 23:04:44 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: filmaj@apache.org To: commits@cordova.apache.org X-Mailer: ASF-Git Admin Mailer Subject: git commit: Also adding output to error reporting for android min checks Message-Id: <20130208230444.21B453AC87@tyr.zones.apache.org> Date: Fri, 8 Feb 2013 23:04:44 +0000 (UTC) Updated Branches: refs/heads/master a4babfcfe -> bb8e604ea Also adding output to error reporting for android min checks Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/bb8e604e Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/bb8e604e Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/bb8e604e Branch: refs/heads/master Commit: bb8e604ea87faea18fcc75e1f81149343aba65bb Parents: a4babfc Author: Fil Maj Authored: Fri Feb 8 15:08:41 2013 -0800 Committer: Fil Maj Committed: Fri Feb 8 15:08:41 2013 -0800 ---------------------------------------------------------------------- src/metadata/android_parser.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/bb8e604e/src/metadata/android_parser.js ---------------------------------------------------------------------- diff --git a/src/metadata/android_parser.js b/src/metadata/android_parser.js index 253cf67..b47b6a0 100644 --- a/src/metadata/android_parser.js +++ b/src/metadata/android_parser.js @@ -42,7 +42,7 @@ module.exports = function android_parser(project) { module.exports.check_requirements = function(callback) { shell.exec('android list target', {silent:true, async:true}, function(code, output) { if (code != 0) { - callback('The command `android` failed. Make sure you have the latest Android SDK installed, and the `android` command (inside the tools/ folder) added to your path.'); + callback('The command `android` failed. Make sure you have the latest Android SDK installed, and the `android` command (inside the tools/ folder) added to your path. Output: ' + output); } else { if (output.indexOf('android-17') == -1) { callback('Please install Android target 17 (the Android 4.2 SDK). Make sure you have the latest Android tools installed as well. Run `android` from your command-line to install/update any missing SDKs or tools.');