Corrected bug: import.data tasks now depend on the code.rev task to prevent problems regarding $code.rev usage in the build.xml.
authorAntonio Moreno <antonio.moreno@openbravo.com>
Tue, 13 May 2008 08:04:20 +0000
changeset 879 520f6bbb86e3
parent 878 0906ebe8504a
child 880 9fd96d8af294
Corrected bug: import.data tasks now depend on the code.rev task to prevent problems regarding $code.rev usage in the build.xml.
build.xml
--- a/build.xml	Tue May 13 07:50:40 2008 +0000
+++ b/build.xml	Tue May 13 08:04:20 2008 +0000
@@ -300,7 +300,7 @@
     <ant dir="${base.db}" target="export.database.data" inheritAll="true" inheritRefs="true"/>
   </target>
 
-  <target name="import.database.data" depends="init">
+  <target name="import.database.data" depends="init,code.rev">
     <ant dir="${base.db}" target="import.database.data" inheritAll="true" inheritRefs="true"/>
   </target>
 
@@ -308,7 +308,7 @@
     <ant dir="${base.db}" target="export.database.sampledata" inheritAll="true" inheritRefs="true"/>
   </target>
 
-  <target name="import.database.sampledata" depends="init">
+  <target name="import.database.sampledata" depends="init,code.rev">
     <ant dir="${base.db}" target="import.database.sampledata" inheritAll="true" inheritRefs="true"/>
   </target>
 
@@ -316,7 +316,7 @@
     <ant dir="${base.db}" target="export.database.masterdata" inheritAll="true" inheritRefs="true"/>
   </target>
 
-  <target name="import.database.masterdata" depends="init">
+  <target name="import.database.masterdata" depends="init,code.rev">
     <ant dir="${base.db}" target="import.database.masterdata" inheritAll="true" inheritRefs="true"/>
   </target>