You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2010/08/10 16:58:16 UTC
svn commit: r984064 - /poi/trunk/build.xml
Author: nick
Date: Tue Aug 10 14:58:16 2010
New Revision: 984064
URL: http://svn.apache.org/viewvc?rev=984064&view=rev
Log:
Compiling the OOXML xsds requires a bit more memory if on a 64 bit jvm
Modified:
poi/trunk/build.xml
Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=984064&r1=984063&r2=984064&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Tue Aug 10 14:58:16 2010
@@ -380,6 +380,13 @@ under the License.
classname="org.apache.xmlbeans.impl.tool.XMLBean"
classpath="${ooxml.xmlbeans.jar}:${ooxml.jsr173.jar}"/>
+ <!-- We need a fair amount of memory to compile the xml schema, -->
+ <!-- but limit it in case it goes wrong! -->
+ <!-- Pick the right amount based on 32 vs 64 bit jvm -->
+ <condition property="ooxml.memory" value="768m" else="512m">
+ <equals arg1="${sun.arch.data.model}" arg2="64" />
+ </condition>
+
<unzip src="${ooxml.xsds.izip}" dest="${ooxml.xsds.tmp.dir}"/>
<!--
schema="build/ooxml-xsds/"
@@ -393,7 +400,7 @@ under the License.
javasource="1.5"
failonerror="true"
fork="true"
- memoryMaximumSize="512m"
+ memoryMaximumSize="${ooxml.memory}"
>
<classpath refid="ooxml.classpath"/>
</xmlbean>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org