aboutsummaryrefslogtreecommitdiffstats
path: root/ajdoc/src
diff options
context:
space:
mode:
authorwisberg <wisberg>2005-05-21 21:45:26 +0000
committerwisberg <wisberg>2005-05-21 21:45:26 +0000
commit9e01ce8e2f178778ec8a6605ed838d92a01d902b (patch)
tree9d9e19d450f4c25bf35a4556ac02885e8f09d5ea /ajdoc/src
parentc9333e38add3e516dd41b4ae808be94521d37ffc (diff)
downloadaspectj-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/src')
-rw-r--r--ajdoc/src/org/aspectj/tools/ajdoc/Main.java10
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