[1803432] ant compile.complete should not delete the war file from context
authorJuan Pablo Aroztegi <juanpablo.aroztegi@openbravo.com>
Fri, 14 Mar 2008 12:28:34 +0000
changeset 537 8eedfed43502
parent 536 11197a4eb04d
child 538 89d26b538933
[1803432] ant compile.complete should not delete the war file from context
build.xml
src/build.xml
--- a/build.xml	Fri Mar 14 12:10:31 2008 +0000
+++ b/build.xml	Fri Mar 14 12:28:34 2008 +0000
@@ -68,7 +68,8 @@
 -->
 <project name="openbravo" default="compile.complete" basedir=".">
   <property environment="env"/>
-  <property file="config/Openbravo.properties"/>
+  <property name="base.config" location="config"/>
+  <property file="${base.config}/Openbravo.properties"/>
 
   <property name="base.src" location="src"/>
   <property name="base.src.core" location="src-core"/>
@@ -81,7 +82,6 @@
   <property name="base.context" location="WebContent"/>
   <property name="base.design" location="${base.context}/src-loc"/>
   <property name="base.lib" location="lib"/>
-  <property name="base.config" location="config"/>
   <property name="build" location="build/classes"/>
   <property name="build.AD" location="srcAD"/>
   <property name="build.sqlc" location="build/javasqlc"/>
--- a/src/build.xml	Fri Mar 14 12:10:31 2008 +0000
+++ b/src/build.xml	Fri Mar 14 12:28:34 2008 +0000
@@ -100,12 +100,6 @@
         <contains string="${attach.path}" substring="${jakarta.context}" casesensitive="false"/>
       </and>
     </condition>
-    <delete includeEmptyDirs="true" failonerror="false">
-      <fileset dir="${jakarta.context}">
-        <exclude name="${attach.path.condition}"/>
-      </fileset>
-    </delete>
-
   </target>
 
   <target name="copy.srcClient">