Fixed problem with the build.xml files. Update.database didn't call postcreate task.
authorAntonio Moreno <antonio.moreno@openbravo.com>
Wed, 14 May 2008 15:05:59 +0000
changeset 905 40b6c5195307
parent 904 a0c4016407c0
child 906 112abd4adf48
Fixed problem with the build.xml files. Update.database didn't call postcreate task.
build.xml
src-db/database/build.xml
--- a/build.xml	Wed May 14 14:53:44 2008 +0000
+++ b/build.xml	Wed May 14 15:05:59 2008 +0000
@@ -274,7 +274,7 @@
     <ant dir="${base.db}" target="create.database" inheritAll="true" inheritRefs="true"/>
   </target>
 
-  <target name="update.database" depends="init">
+  <target name="update.database" depends="init,code.rev">
     <ant dir="${base.db}" target="update.database" inheritAll="true" inheritRefs="true"/>
   </target>
 
--- a/src-db/database/build.xml	Wed May 14 14:53:44 2008 +0000
+++ b/src-db/database/build.xml	Wed May 14 15:05:59 2008 +0000
@@ -122,6 +122,7 @@
                        object="${bbdd.object}"
                        failonerror="false"
                        verbosity="${bbdd.verbosity}" />  
+	      <antcall target="database.postcreate.${bbdd.rdbms}" />
     </target>
 
   <target name="clean.database.ORACLE">