From 9b6d3e1abdce6297dda31b34350ad413b802249b Mon Sep 17 00:00:00 2001
From: abobrov <abobrov@localhost>
Date: Sat, 22 Dec 2007 02:27:10 +0000
Subject: [PATCH] - aggregate MEM property and bump its value to 256Mb.

---
 opendj-sdk/opends/build.xml |   28 +++++++---------------------
 1 files changed, 7 insertions(+), 21 deletions(-)

diff --git a/opendj-sdk/opends/build.xml b/opendj-sdk/opends/build.xml
index af8404d..3f9f56d 100644
--- a/opendj-sdk/opends/build.xml
+++ b/opendj-sdk/opends/build.xml
@@ -31,6 +31,9 @@
     file in this directory for build instructions.
   </description>
 
+  <!-- Build JVM properties -->
+  <property name="MEM" value="256M"/>
+
   <!-- General server-wide properties                                 -->
   <property name="src.dir"          location="src/server"              />
   <property name="build.dir"        location="build"                   />
@@ -328,11 +331,6 @@
       </not>
     </condition>
 
-    <condition property="MEM" value="192M">
-      <not>
-        <isset property="MEM" />
-      </not>
-    </condition>
 
 
     <!--
@@ -639,12 +637,6 @@
    ! -->
   <target name="rebuild" depends="generatemessages"
        description="Rebuild the server without destroying config or data.">
-    <!-- Set the amount of memory to use for the build -->
-    <condition property="MEM" value="192M">
-      <not>
-        <isset property="MEM" />
-      </not>
-    </condition>
 
     <!-- Construct the version number string -->
     <taskdef name="getversionnumber"
@@ -875,15 +867,15 @@
     <copy todir="${pdir}">
       <fileset file="${resource.dir}/README" />
     </copy>
-    
+
     <copy todir="${pdir}">
       <fileset file="${resource.dir}/install.html" />
     </copy>
-    
+
     <copy todir="${pdir}">
       <fileset file="${resource.dir}/images/opends_logo.png" />
-    </copy>  
-   
+    </copy>
+
     <fixcrlf srcDir="${resource.dir}" destDir="${pdir}" includes="setup,uninstall,upgrade"
          eol="lf" />
     <fixcrlf srcDir="${resource.dir}" destDir="${pdir}" includes="setup.bat,uninstall.bat,upgrade.bat"
@@ -1824,12 +1816,6 @@
 
   <target name="buildtools" depends="init"
         description="Builds the build tools">
-    <!-- Set the amount of memory to use for the build -->
-    <condition property="MEM" value="192M">
-      <not>
-        <isset property="MEM" />
-      </not>
-    </condition>
 
     <mkdir dir="${buildtools.classes.dir}" />
 

--
Gitblit v1.10.0