harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r636775 - /harmony/standard/site/build.xml
Date Thu, 13 Mar 2008 14:49:17 GMT
Author: tellison
Date: Thu Mar 13 07:49:09 2008
New Revision: 636775

URL: http://svn.apache.org/viewvc?rev=636775&view=rev
Log:
Force site regeneration using Harmony, to avoid corrupting the RU text.

Modified:
    harmony/standard/site/build.xml

Modified: harmony/standard/site/build.xml
URL: http://svn.apache.org/viewvc/harmony/standard/site/build.xml?rev=636775&r1=636774&r2=636775&view=diff
==============================================================================
--- harmony/standard/site/build.xml (original)
+++ harmony/standard/site/build.xml Thu Mar 13 07:49:09 2008
@@ -55,7 +55,7 @@
 
   <target name="site" 
           description="generates the HTML documentation"
-          >
+          depends="check-jre">
       <taskdef name="anakia"
           classname="org.apache.velocity.anakia.AnakiaTask">
           
@@ -139,6 +139,17 @@
 
   </target>
     
+
+  <target name="check-jre">
+      <fail message="You need to generate the site using Harmony">
+          <condition>
+              <not>
+                  <equals arg1="Apache Harmony" arg2="${java.runtime.name}"/>
+              </not>
+          </condition>
+      </fail>
+  </target>
+
 </project>
 
 



Mime
View raw message