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/06/27 23:35:47 UTC

git commit: fix build on os x

Repository: cassandra
Updated Branches:
  refs/heads/trunk 73d517d6d -> c027183ea


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/c027183e
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/c027183e
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/c027183e

Branch: refs/heads/trunk
Commit: c027183ea4e901cf1d44e06704f6d78f84405bb4
Parents: 73d517d
Author: Jonathan Ellis <jb...@apache.org>
Authored: Fri Jun 27 14:04:55 2014 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Fri Jun 27 16:35:28 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c027183e/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 5e4a85b..27ac9c5 100644
--- a/build.xml
+++ b/build.xml
@@ -693,13 +693,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}"/>
         	<compilerarg value="-XDignore.symbol.file"/>