db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1189059 - /db/derby/code/trunk/build.xml
Date Wed, 26 Oct 2011 07:54:18 GMT
Author: kahatlen
Date: Wed Oct 26 07:54:17 2011
New Revision: 1189059

URL: http://svn.apache.org/viewvc?rev=1189059&view=rev
Log:
DERBY-5479: Don't run MessageVetter unless messages have changed

Modified:
    db/derby/code/trunk/build.xml

Modified: db/derby/code/trunk/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/build.xml?rev=1189059&r1=1189058&r2=1189059&view=diff
==============================================================================
--- db/derby/code/trunk/build.xml (original)
+++ db/derby/code/trunk/build.xml Wed Oct 26 07:54:17 2011
@@ -568,13 +568,27 @@
     <delete file="${out.dir}/org/apache/derby/info/locale_zh_TW.properties"/>
   </target>
 
-  <target name="checkmessages">
+  <target name="checkmessages" depends="checkmessages-done"
+          unless="checkmessages.done">
     <java classname="org.apache.derbyBuild.MessageVetter"
           classpath="${out.dir}"
           failonerror="true">
       <arg file="${out.dir}/org/apache/derby/loc"/>
       <arg file="${out.dir}/org/apache/derby/loc/drda"/>
     </java>
+    <touch file="${generated.dir}/checkmessages.done"/>
+  </target>
+
+  <target name="checkmessages-done">
+    <uptodate property="checkmessages.done"
+              targetfile="${generated.dir}/checkmessages.done">
+      <srcresources>
+        <fileset dir="${out.dir}/org/apache/derby/loc"
+                 includes="*.properties"/>
+        <fileset dir="${out.dir}/org/apache/derby/loc/drda"
+                 includes="*.properties"/>
+      </srcresources>
+    </uptodate>
   </target>
 
 <!-- ==================================================================== -->



Mime
View raw message