cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cassandra-jdbc.apache-extras....@codespot.com
Subject [wiki.cassandra-jdbc] push by - Some build doc. on 2011-12-13 23:48 GMT
Date Tue, 13 Dec 2011 23:49:06 GMT
Revision: a8f3cd03dba3
Author:   john.eric.evans <john.eric.evans@gmail.com>
Date:     Tue Dec 13 15:48:41 2011
Log:      Some build doc.
http://code.google.com/a/apache-extras.org/p/cassandra-jdbc/source/detail?r=a8f3cd03dba3&repo=wiki

Added:
  /HowToBuild.wiki

=======================================
--- /dev/null
+++ /HowToBuild.wiki	Tue Dec 13 15:48:41 2011
@@ -0,0 +1,49 @@
+#Maven, FML.
+
+= Building =
+
+== Satisfying Dependencies ==
+
+The JDBC driver has a dependency on two [http://cassandra.apache.org  
Cassandra] jars, `cassandra-clientutil` and `cassandra-thrift`, neither of  
which will be available through a Maven repository until the release of  
Cassandra 1.1.0.  In the meantime you must ~~shave a yak~~ satisfy this  
dependency manually.
+
+First, download the source and build the jar artifacts.
+
+{{{
+$ svn checkout https://svn.apache.org/repos/asf/cassandra/trunk cassandra
+$ cd cassandra
+$ ant jar
+}}}
+
+When complete, install the artifacts to `~/.m2`
+
+{{{
+mvn install:install-file -DgroupId=org.apache.cassandra \
+    -DartifactId=cassandra-clientutil -Dversion=1.1-dev-SNAPSHOT  
-Dpackaging=jar \
+    -Dfile=build/apache-cassandra-clientutil-1.1-dev-SNAPSHOT.jar
+...
+mvn install:install-file -DgroupId=org.apache.cassandra \
+    -DartifactId=cassandra-thrift -Dversion=1.1-dev-SNAPSHOT  
-Dpackaging=jar \
+    -Dfile=build/apache-cassandra-thrift-1.1-dev-SNAPSHOT.jar
+}}}
+
+== Building ==
+
+[http://code.google.com/a/apache-extras.org/p/cassandra-jdbc/source/checkout  
Checkout  
the source] and build with either Maven:
+
+{{{
+$ mvn compile
+}}}
+
+Or ant:
+
+{{{
+$ ant
+}}}
+
+== IDE ==
+
+To generate project files for [http://www.eclipse.org/ Eclipse]:
+
+{{{
+$ mvn eclipse:eclipse
+}}}

Mime
View raw message