You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@jakarta.apache.org by ba...@apache.org on 2005/02/22 21:07:57 UTC

svn commit: r154892 - jakarta/site/build.xml

Author: bayard
Date: Tue Feb 22 12:07:56 2005
New Revision: 154892

URL: http://svn.apache.org/viewcvs?view=rev&rev=154892
Log:
Thanks to proyal. Quick bit at the stop to enforce building under 1.4 until we have it fixed for 1.5

Modified:
    jakarta/site/build.xml

Modified: jakarta/site/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/site/build.xml?view=diff&r1=154891&r2=154892
==============================================================================
--- jakarta/site/build.xml (original)
+++ jakarta/site/build.xml Tue Feb 22 12:07:56 2005
@@ -21,6 +21,12 @@
   <target name="docs"
    description="Render HTML Pages via XSLT">
 
+    <!-- quit out if not in 1.4 -->
+    <condition property="target.vm" value="1.4">
+      <equals arg1="1.4" arg2="${java.specification.version}"/>
+    </condition>
+    <fail unless="target.vm" message="Must build with Java 1.4"/>
+
     <!-- Create destination directory if necessary -->
     <mkdir     dir="${docs.dest}"/>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: site-cvs-help@jakarta.apache.org