]> source.dussan.org Git - aspectj.git/commitdiff
uncommented preflight to ensure javadoc is invocable - in this case tests don't run...
authorwisberg <wisberg>
Sat, 21 May 2005 21:45:26 +0000 (21:45 +0000)
committerwisberg <wisberg>
Sat, 21 May 2005 21:45:26 +0000 (21:45 +0000)
ajdoc/src/org/aspectj/tools/ajdoc/Main.java

index 6611d2165e42bc77417decfc1aea9b34775af0d1..4eb2875e9f5bba70b39d184bd293a2b5827dae28 100644 (file)
@@ -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