cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r793961 - /incubator/cassandra/trunk/build.xml
Date Tue, 14 Jul 2009 16:19:09 GMT
Author: eevans
Date: Tue Jul 14 16:19:09 2009
New Revision: 793961

URL: http://svn.apache.org/viewvc?rev=793961&view=rev
Log:
added ant targets for thrift code generation

Path by Michael Greene; reviewed by eevans for CASSANDRA-284

Modified:
    incubator/cassandra/trunk/build.xml

Modified: incubator/cassandra/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/build.xml?rev=793961&r1=793960&r2=793961&view=diff
==============================================================================
--- incubator/cassandra/trunk/build.xml (original)
+++ incubator/cassandra/trunk/build.xml Tue Jul 14 16:19:09 2009
@@ -114,6 +114,19 @@
       </java> 
     </target>
 
+    <target name="gen-thrift-java">
+      <echo>Generating Thrift Java code from ${basedir}/interface/cassandra.thrift
....</echo>
+      <exec executable="thrift" dir="${basedir}/interface">
+        <arg line="--gen java cassandra.thrift" />
+      </exec>
+    </target>
+    <target name="gen-thrift-py">
+      <echo>Generating Thrift Python code from ${basedir}/interface/cassandra.thrift
....</echo>
+      <exec executable="thrift" dir="${basedir}/interface">
+        <arg line="--gen py cassandra.thrift" />
+      </exec>
+    </target>
+
     <!--
 	The build target builds all the .class files
     -->



Mime
View raw message