ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r896396 - /ant/core/trunk/build.xml
Date Wed, 06 Jan 2010 11:32:20 GMT
Author: jhm
Date: Wed Jan  6 11:32:18 2010
New Revision: 896396

URL: http://svn.apache.org/viewvc?rev=896396&view=rev
Log:
Skip Javadoc creation on JDK 1.4, as it always fails for unknown reason.

Modified:
    ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/build.xml?rev=896396&r1=896395&r2=896396&view=diff
==============================================================================
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Wed Jan  6 11:32:18 2010
@@ -1379,9 +1379,13 @@
     </uptodate>
   </target>
 
-  <target name="javadocs" depends="prepare, javadoc_check"
-    unless="javadoc.notrequired"
-    description="--> creates the API documentation">
+  <target name="javadocs" depends="prepare, javadoc_check, check_for_optional_packages,
-javadocs.do, -javadocs.dont"
+    description="--> creates the API documentation"/>
+    
+  <target name="-javadocs.dont" unless="jdk1.5+">
+    <echo>Javadoc creation of Ant's API does not work with JDK 1.4. Please use a newer
one.</echo>
+  </target>
+  <target name="-javadocs.do" if="jdk1.5+" unless="javadoc.notrequired">
     <mkdir dir="${build.javadocs}"/>
     <javadoc useexternalfile="yes"
       destdir="${build.javadocs}"



Mime
View raw message