build.xml
changeset 3746 679da9c6ff4a
parent 3660 a48bac9c52cb
child 3752 99f93189fbad
--- a/build.xml	Tue Apr 28 17:09:27 2009 +0200
+++ b/build.xml	Tue Apr 28 17:34:00 2009 +0200
@@ -250,8 +250,8 @@
         <istrue value="${local}" />
       </not>
     </condition>
+    <antcall target="update.database.if.no.local" />
     <antcall inheritall="true" inheritrefs="true" target="generate.entities.quick" />
-    <antcall target="update.database.if.no.local" />
 
     <ant dir="${base.src}" target="smartbuild" inheritAll="true" inheritRefs="true" />
 
@@ -507,7 +507,7 @@
     <antcall target="db.apply.modules.sampledata" />
   </target>
 
-  <target name="update.database" depends="init,code.rev,generate.entities.quick">
+  <target name="update.database" depends="init,code.rev">
     <antcall target="database.lib" />
     <antcall target="core.lib" />
     <ant dir="${base.db}" target="update.database" inheritAll="true" inheritRefs="true" />
@@ -520,6 +520,7 @@
     <antcall target="core.lib" />
     <ant dir="${base.db}" target="update.database.mod" inheritAll="true" inheritRefs="true" />
     <antcall target="db.apply.modules" />
+    <antcall target="generate.entities.quick" />
   </target>
 
   <target name="update.customized.database" depends="init,code.rev">