From a6bd3fba30d801815114d7b4794bae6d19b1609f Mon Sep 17 00:00:00 2001 From: rosen-vladimirov Date: Fri, 25 Sep 2015 14:10:09 +0300 Subject: [PATCH] Remove check for ant version We do not use ant anymore, so we should remove the check. Fixes https://github.com/NativeScript/nativescript-cli/issues/941 --- lib/common | 2 +- lib/services/doctor-service.ts | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/common b/lib/common index c41cb4845b..bee77ac80a 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit c41cb4845b14d5460051b3a637234062f3591012 +Subproject commit bee77ac80a5fae35fb3fa13bbac24375297775c5 diff --git a/lib/services/doctor-service.ts b/lib/services/doctor-service.ts index 1f8aae0c70..c03353a570 100644 --- a/lib/services/doctor-service.ts +++ b/lib/services/doctor-service.ts @@ -25,15 +25,7 @@ class DoctorService implements IDoctorService { this.printPackageManagerTip(); result = true; } - if (!sysInfo.antVer) { - this.$logger.warn("WARNING: Apache Ant is not installed or is not configured properly."); - this.$logger.out("You will not be able to build your projects for Android." + EOL - + "To be able to build for Android, download and install Apache Ant and" + EOL - + "its dependencies as described in http://ant.apache.org/manual/index.html" + EOL); - this.printPackageManagerTip(); - result = true; - } if (!sysInfo.androidInstalled) { this.$logger.warn("WARNING: The Android SDK is not installed or is not configured properly."); this.$logger.out("You will not be able to build your projects for Android and run them in the native emulator." + EOL