Fixed issue 10242. Generate.entities will be done on create.database -Dapply.on.create=true to prevent the problem.
authorAntonio Moreno <antonio.moreno@openbravo.com>
Wed, 23 Sep 2009 15:34:56 +0200
changeset 5077 402da4a11d1c
parent 5076 7c302cdb1c7f
child 5078 e6805633d6bb
Fixed issue 10242. Generate.entities will be done on create.database -Dapply.on.create=true to prevent the problem.
build.xml
--- a/build.xml	Wed Sep 23 15:50:13 2009 +0200
+++ b/build.xml	Wed Sep 23 15:34:56 2009 +0200
@@ -610,6 +610,7 @@
   </target>
 
   <target name="db.apply.modules.sampledata" if="apply.modules.on.create">
+    <antcall target="generate.entities" />
     <echo message="applying modules" />    
     <antcall inheritall="true" inheritrefs="true" target="apply.module" />
     <antcall target="import.sample.data" />