Revision: a8f3cd03dba3
Author:   john.eric.evans <john.eric.ev...@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
+}}}

Reply via email to