You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2008/03/13 15:49:17 UTC

svn commit: r636775 - /harmony/standard/site/build.xml

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>