Fixed issue 7494. From now on, create.database will depend on core.lib. This way we make sure that all needed classes are compiled before doing create.database.
authorAntonio Moreno <antonio.moreno@openbravo.com>
Wed, 11 Feb 2009 10:20:53 +0000
changeset 3053 c2f150e9c4e1
parent 3052 dc3cf1513510
child 3054 765446014091
Fixed issue 7494. From now on, create.database will depend on core.lib. This way we make sure that all needed classes are compiled before doing create.database.
build.xml
--- a/build.xml	Wed Feb 11 07:40:02 2009 +0000
+++ b/build.xml	Wed Feb 11 10:20:53 2009 +0000
@@ -445,8 +445,7 @@
 
   <target name="install.source" depends="init,code.rev">
     <antcall target="database.lib" />
-    <ant dir="${base.db}" antfile="build-create.xml" target="create.database" inheritAll="true" inheritRefs="true" />
-    <antcall target="core.lib" />
+    <antcall target="create.database" />
     <antcall target="wad.lib" />
     <antcall target="trl.lib" />
 
@@ -467,11 +466,10 @@
 
   <target name="eclipse.install.source" depends="init,code.rev">
     <antcall target="database.lib" />
-    <antcall target="core.lib" />
+    <antcall target="create.database" />
     <antcall target="wad.lib" />
     <antcall target="trl.lib" />
     <eclipse.incrementalBuild project="OpenbravoCore" kind="full" />
-    <ant dir="${base.db}" antfile="build-create.xml" target="create.database" inheritAll="true" inheritRefs="true" />
 
     <antcall target="eclipse.compile.complete" />
     <echo message="applying modules" />
@@ -485,7 +483,7 @@
     <antcall target="validate.modules" />
   </target>
 
-  <target name="create.database" depends="init,code.rev">
+  <target name="create.database" depends="init,code.rev, core.lib">
     <antcall target="database.lib" />
     <antcall target="core.lib" />
     <ant dir="${base.db}" antfile="build-create.xml" target="create.database" inheritAll="true" inheritRefs="true" />