cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r1190745 - /cassandra/trunk/build.xml
Date Sat, 29 Oct 2011 03:14:01 GMT
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
     -->



Mime
View raw message