build.xml
changeset 2853 7f843a980871
parent 2838 6ecf6b366520
child 2855 ca3a42a8c786
--- a/build.xml	Fri Jan 30 11:39:36 2009 +0000
+++ b/build.xml	Fri Jan 30 11:57:02 2009 +0000
@@ -68,6 +68,7 @@
 	<property environment="env" />
 	<property name="base.config" location="config" />
 	<property file="${base.config}/Openbravo.properties" />
+	<property file="${base.config}/checksums" />
 
 	<property name="base.config" location="config" />
 	<property name="base.src" location="src" />
@@ -100,6 +101,14 @@
 
 	<available file=".svn/entries" property="is.svn" />
 
+	<checksum file="${base.src.wad}/lib/openbravo-wad.jar" algorithm="MD5" property="test.md5.wad"/>
+	
+	<condition property="new.wad">
+		<not>
+	    <equals arg1="${test.md5.wad}" arg2="${md5.wad}"/>
+		</not>
+	</condition>
+	
   <condition property="deploy.mode" value="class">
     <not>
       <isset property="${deploy.mode}" />
@@ -214,7 +223,8 @@
 	</target>
 	
 	 <target name="build.quick" depends="init">
-	    <ant dir="${base.src}" target="build.quick" inheritAll="true" inheritRefs="true" />
+
+	    <ant dir="${base.src}" target="build.quick" inheritAll="true" inheritRefs="true"/>
 	  </target>