Fixes issue 6787: set default value for deploy.mode when not defined
authorJuan Pablo Aroztegi <juanpablo.aroztegi@openbravo.com>
Wed, 07 Jan 2009 18:05:28 +0000
changeset 2522 3b29ff903746
parent 2521 557dd5f9aa22
child 2523 c452484594c1
Fixes issue 6787: set default value for deploy.mode when not defined
build.xml
--- a/build.xml	Wed Jan 07 17:55:27 2009 +0000
+++ b/build.xml	Wed Jan 07 18:05:28 2009 +0000
@@ -104,6 +104,11 @@
 
 	<available file=".svn/entries" property="is.svn" />
 
+  <condition property="deploy.mode" value="class">
+    <not>
+      <isset property="${deploy.mode}" />
+    </not>
+  </condition>
 
 	<condition property="mode.war">
 		<equals arg1="war" arg2="${deploy.mode}" />