Merged with pi
authorMartin Taal <martin.taal@openbravo.com>
Wed, 10 Feb 2010 16:57:29 +0100
changeset 6233 b68706f95ef8
parent 6232 333a362ef473 (current diff)
parent 6108 5fc1b601464c (diff)
child 6234 7430191043bf
Merged with pi
build.xml
--- a/build.xml	Wed Feb 10 16:42:35 2010 +0100
+++ b/build.xml	Wed Feb 10 16:57:29 2010 +0100
@@ -85,7 +85,8 @@
   <property name="build.docs" location="docs/api" />
   <property name="jakarta.home" location="${env.CATALINA_HOME}" />
   <property name="module" value="%" />
-  <property name="apply.on.create" value="true" />
+  <property name="apply.on.create" value="false" />
+  <property name="apply.on.update" value="true" />
   <property name="obx.export.RD" value="false" />
   <property name="obx.export.DB" value="false" />
   <property name="obx.export.CS" value="false" />
@@ -129,6 +130,13 @@
     </or>
   </condition>
 
+  <condition property="apply.modules.on.update">
+    <or>
+      <equals arg1="yes" arg2="${apply.on.update}" />
+      <equals arg1="true" arg2="${apply.on.update}" />
+    </or>
+  </condition>
+
   <condition property="obx.exp.DB">
     <or>
       <equals arg1="yes" arg2="${obx.export.DB}" />
@@ -577,7 +585,7 @@
     <ant dir="${base.db}" target="export.config.script" inheritAll="true" inheritRefs="true" />
   </target>
 
-  <target name="db.apply.modules" if="apply.modules.on.create">
+  <target name="db.apply.modules" if="apply.modules.on.update">
     <antcall inheritall="true" inheritrefs="true" target="apply.module" />
   </target>