diff options
author | wisberg <wisberg> | 2005-05-21 21:45:26 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2005-05-21 21:45:26 +0000 |
commit | 9e01ce8e2f178778ec8a6605ed838d92a01d902b (patch) | |
tree | 9d9e19d450f4c25bf35a4556ac02885e8f09d5ea /ajdoc | |
parent | c9333e38add3e516dd41b4ae808be94521d37ffc (diff) | |
download | aspectj-9e01ce8e2f178778ec8a6605ed838d92a01d902b.tar.gz aspectj-9e01ce8e2f178778ec8a6605ed838d92a01d902b.zip |
uncommented preflight to ensure javadoc is invocable - in this case tests don't run but pass (false positives)
Diffstat (limited to 'ajdoc')
-rw-r--r-- | ajdoc/src/org/aspectj/tools/ajdoc/Main.java | 10 |
1 files changed, 5 insertions, 5 deletions
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 |