You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ee...@apache.org on 2011/10/29 05:14:01 UTC

svn commit: r1190745 - /cassandra/trunk/build.xml

Author: eevans
Date: Sat Oct 29 03:14:01 2011
New Revision: 1190745

URL: http://svn.apache.org/viewvc?rev=1190745&view=rev
Log:
run cassandra from ant

Patch by eevans; reviewed by jbellis for CASSANDRA-3420

Modified:
    cassandra/trunk/build.xml

Modified: cassandra/trunk/build.xml
URL: http://svn.apache.org/viewvc/cassandra/trunk/build.xml?rev=1190745&r1=1190744&r2=1190745&view=diff
==============================================================================
--- cassandra/trunk/build.xml (original)
+++ cassandra/trunk/build.xml Sat Oct 29 03:14:01 2011
@@ -658,6 +658,19 @@ url=${svn.entry.url}?pathrev=${svn.entry
       </propertyfile>
     </target>
 
+    <target name="test-run" depends="build"
+            description="Run in test mode.  Not for production use!">
+      <java classname="org.apache.cassandra.thrift.CassandraDaemon" fork="true">
+        <classpath>
+          <path refid="cassandra.classpath"/>  
+          <pathelement location="${test.conf}"/>
+        </classpath>
+        <jvmarg value="-Dstorage-config=${test.conf}"/>
+        <jvmarg value="-javaagent:${basedir}/lib/jamm-0.2.5.jar" />
+        <jvmarg value="-ea"/>
+      </java>
+    </target>
+
     <!--
         The build target builds all the .class files
     -->