You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2014/07/17 22:57:53 UTC

[4/6] git commit: fix build on os x

fix build on os x


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/5dfee585
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/5dfee585
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/5dfee585

Branch: refs/heads/trunk
Commit: 5dfee585dd08c70542a33acdaf55acd5adbc7a05
Parents: 14151a4
Author: Jonathan Ellis <jb...@apache.org>
Authored: Fri Jun 27 14:04:55 2014 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Thu Jul 17 15:57:30 2014 -0500

----------------------------------------------------------------------
 build.xml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/5dfee585/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index c1302eb..40dfbf6 100644
--- a/build.xml
+++ b/build.xml
@@ -688,13 +688,17 @@
             name="build-project">
         <echo message="${ant.project.name}: ${ant.file}"/>
         <!-- Order matters! -->
-        <javac debug="true" debuglevel="${debuglevel}"
-               destdir="${build.classes.thrift}" includeantruntime="false" source="${source.version}" target="${target.version}">
+        <javac fork="true"
+               debug="true" debuglevel="${debuglevel}"
+               destdir="${build.classes.thrift}" includeantruntime="false" source="${source.version}" target="${target.version}"
+               memorymaximumsize="512M">
             <src path="${interface.thrift.dir}/gen-java"/>
             <classpath refid="cassandra.classpath"/>
         </javac>
-        <javac debug="true" debuglevel="${debuglevel}"
-               destdir="${build.classes.main}" includeantruntime="false" source="${source.version}" target="${target.version}">
+        <javac fork="true"
+               debug="true" debuglevel="${debuglevel}"
+               destdir="${build.classes.main}" includeantruntime="false" source="${source.version}" target="${target.version}"
+               memorymaximumsize="512M">
             <src path="${build.src.java}"/>
             <src path="${build.src.gen-java}"/>
             <classpath refid="cassandra.classpath"/>