build.xml
changeset 2205 f881eca76a88
parent 2151 1a55a418492c
child 2242 1cc506109395
--- a/build.xml	Wed Dec 03 08:33:54 2008 +0000
+++ b/build.xml	Wed Dec 03 12:52:09 2008 +0000
@@ -268,7 +268,7 @@
     <ant dir="${base.src}" target="compile.src.gen" inheritAll="true" inheritRefs="true"/>
   </target>
 
-  <target name="generate.entities" depends="compile.src.gen">
+  <target name="generate.entities">
     <ant dir="${base.src}" target="generate.entities" inheritAll="true" inheritRefs="true"/>
   </target>
 
@@ -483,9 +483,9 @@
       <classpath refid="project.class.path"/>
     </taskdef>
     <antcall target="update.database.mod"/>
-    <antcall target="generate.entities"/>
     <applyModule userId="0"
-                 propertiesFile="${base.config}/Openbravo.properties"/>
+                 propertiesFile="${base.config}/Openbravo.properties"
+    			reinitializemodel="true"/>
 		<antcall target="compile.deploy"/>
 		<!--antcall target="deploy.context"/-->
 	</target>