build.xml
changeset 4288 1d9ad040a512
parent 4287 d3aa261a64fc
child 4845 526ac9cd1d93
--- a/build.xml	Mon Jul 06 23:26:21 2009 +0200
+++ b/build.xml	Tue Jul 07 09:44:23 2009 +0200
@@ -234,6 +234,14 @@
     <property name="smart.mode" value="true" />
     <property name="onlyIfModified" value="true" />
     <antcall target="core.lib" />
+    
+    <condition property="no.local">
+      <not>
+        <istrue value="${local}" />
+      </not>
+    </condition>
+    <antcall target="update.database.if.no.local" />
+    
     <antcall target="wad.lib" />
 
     <checksum file="${base.src.wad}/lib/openbravo-wad.jar" algorithm="MD5" property="test.md5.wad" />
@@ -245,14 +253,7 @@
     </condition>
 
     <antcall target="trl.lib" />
-
-
-    <condition property="no.local">
-      <not>
-        <istrue value="${local}" />
-      </not>
-    </condition>
-    <antcall target="update.database.if.no.local" />
+    
     <antcall inheritall="true" inheritrefs="true" target="generate.entities.quick" />
 
     <ant dir="${base.src}" target="smartbuild" inheritAll="true" inheritRefs="true" />