build.xml
changeset 6080 2cc77f70e267
parent 6049 77fb11772ddd
child 6113 2f32c81696b7
child 6237 a8c4ce2aa00f
--- a/build.xml	Wed Feb 10 09:41:28 2010 +0100
+++ b/build.xml	Wed Feb 10 12:48:28 2010 +0100
@@ -85,7 +85,7 @@
   <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="false" />
+  <property name="apply.on.create" value="true" />
   <property name="obx.export.RD" value="false" />
   <property name="obx.export.DB" value="false" />
   <property name="obx.export.CS" value="false" />
@@ -554,7 +554,7 @@
     <ant dir="${base.db}" target="update.database.java" inheritAll="true" inheritRefs="true" />
     <updatesystemstatus v="RB21"/>
     <antcall target="generate.entities.quick" />
-    <antcall inheritall="true" inheritrefs="true" target="apply.module" />
+    <antcall target="db.apply.modules" />
   </target>
 
   <target name="update.database.mod" depends="init, core.lib, database.lib">
@@ -577,6 +577,10 @@
     <ant dir="${base.db}" target="export.config.script" inheritAll="true" inheritRefs="true" />
   </target>
 
+  <target name="db.apply.modules" if="apply.modules.on.create">
+    <antcall inheritall="true" inheritrefs="true" target="apply.module" />
+  </target>
+
   <target name="db.apply.modules.sampledata" if="apply.modules.on.create">
     <antcall target="generate.entities" />
     <antcall inheritall="true" inheritrefs="true" target="apply.module" />