build.xml
changeset 3008 7594f5926e99
parent 2996 d3cb8943cc47
child 3013 ed74f45c36dd
--- a/build.xml	Fri Feb 06 15:55:04 2009 +0000
+++ b/build.xml	Fri Feb 06 16:11:08 2009 +0000
@@ -99,6 +99,7 @@
   <property name="obx.export.CS" value="false" />
   <property name="chekPerms" value="false" />
   <property name="force" value="false" />
+  <property name="local" value="true" />
 
   <available file=".svn/entries" property="is.svn" />
 
@@ -228,7 +229,12 @@
   <target name="build.quick" depends="init">
     <property name="quick.mode" value="true"/>
     <property name="onlyIfModified" value="true" />
-    <antcall target="update.database" />
+    <condition property="no.local">
+      <not>
+        <istrue value="${local}"/>
+      </not>
+    </condition>
+    <antcall target="update.database.if.no.local" />
 
     <ant dir="${base.src}" target="build.quick" inheritAll="true" inheritRefs="true" />
     
@@ -239,6 +245,10 @@
     </condition>
     <antcall target="if.restart.tomcat" />
   </target>
+  
+  <target name="update.database.if.no.local" if="no.local">
+    <antcall target="update.database" />
+  </target>
 
   <target name="build.deploy">
     <antcall target="build.deploy.war"/>