build.xml
changeset 6241 5869dd8ab2f0
parent 6240 4c4938381a2b
child 6404 fc5532eeab91
--- a/build.xml	Fri Feb 12 10:20:43 2010 +0100
+++ b/build.xml	Fri Feb 12 11:14:29 2010 +0100
@@ -167,8 +167,12 @@
   <property name="lib" location="${jakarta.home}/common" />
   <property name="jakarta.context" location="${jakarta.base}/webapps/${context.name}" />
 
-  <condition property="build.maxmemory" value="512M">
-    <isset property="build.maxmemory"/>
+  <condition property="build.maxmemory" value="1024M" else="512M">
+    <or>
+      <equals arg1="${os.arch}" arg2="amd64" />
+      <equals arg1="${os.arch}" arg2="x86_64" />
+      <equals arg1="${os.arch}" arg2="ia64" />
+    </or>
   </condition>
 
   <condition property="no.java.home" value="true">