ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgl...@apache.org
Subject svn commit: r999504 - /ant/core/trunk/build.xml
Date Tue, 21 Sep 2010 17:11:14 GMT
Author: jglick
Date: Tue Sep 21 17:11:13 2010
New Revision: 999504

URL: http://svn.apache.org/viewvc?rev=999504&view=rev
Log:
If we cannot build Javadoc, we cannot copy it to the dist dir either.
https://hudson.apache.org/hudson/view/Ant/job/Ant_Nightly/151/console
javadoc_check:
-javadocs.do:
-javadocs.dont:
     [echo] Javadoc creation of Ant's API does not work with JDK 1.4. Please use a newer one.
javadocs:
dist_javadocs:
    [mkdir] Created dir: .../apache-ant-1.8.2alpha/docs/manual/api
BUILD FAILED
.../build.xml:1086: The following error occurred while executing this line:
.../build.xml:850: .../build/javadocs not found.

Modified:
    ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/build.xml?rev=999504&r1=999503&r2=999504&view=diff
==============================================================================
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Tue Sep 21 17:11:13 2010
@@ -845,7 +845,7 @@
     </antcall>
   </target>
 
-  <target name="dist_javadocs" depends="javadocs">
+  <target name="dist_javadocs" depends="javadocs" if="jdk1.5+">
     <mkdir dir="${dist.javadocs}"/>
     <copy todir="${dist.javadocs}" overwrite="true">
       <fileset dir="${build.javadocs}"/>



Mime
View raw message