From 9e01ce8e2f178778ec8a6605ed838d92a01d902b Mon Sep 17 00:00:00 2001 From: wisberg Date: Sat, 21 May 2005 21:45:26 +0000 Subject: uncommented preflight to ensure javadoc is invocable - in this case tests don't run but pass (false positives) --- ajdoc/src/org/aspectj/tools/ajdoc/Main.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ajdoc') diff --git a/ajdoc/src/org/aspectj/tools/ajdoc/Main.java b/ajdoc/src/org/aspectj/tools/ajdoc/Main.java index 6611d2165..4eb2875e9 100644 --- a/ajdoc/src/org/aspectj/tools/ajdoc/Main.java +++ b/ajdoc/src/org/aspectj/tools/ajdoc/Main.java @@ -87,11 +87,11 @@ public class Main implements Config { public static void main(String[] args) { clearState(); -// if (!JavadocRunner.has14ToolsAvailable()) { -// System.err.println("ajdoc requires a JDK 1.4 or later tools jar - exiting"); -// aborted = true; -// return; -// } + if (!JavadocRunner.has14ToolsAvailable()) { + System.err.println("ajdoc requires a JDK 1.4 or later tools jar - exiting"); + aborted = true; + return; + } // STEP 1: parse the command line and do other global setup sourcepath.addElement("."); // add the current directory to the classapth -- cgit v1.2.3