I just edited the MessagingServices.java and OutboundTcpConnection.java files in 0.8.0beta 2 and build it successfully using Ant (I just ran the ant command in the apache-cassandra-0.8.0-beta2-src directory). I need some help with how to deploy the newly build binaries to a new Cassandra cluster to test if the changes worked.
It looks like Ant generated two folders with a bunch of Jar files: apache-cassandra-0.8.0-beta2-src\build\lib\jars and apache-cassandra-0.8.0-beta2-src\build\lib\sources How do I run this modified build on a server? I extracted the 0.8.0 bin version of Cassandra and the files under apache-cassandra-0.8.0-beta2\lib are not the same as either of the Ant jar folders (jars and sources). Do I just copy the Ant's lib\jars folder to the apache-cassandra-0.8.0-beta2\lib directory? do I need to do anything with Ant's lib\sources directory? - - - - - - Output of Ant's lib\jars: 05/10/2011 05:13 PM 1,034,049 ant-1.6.5.jar 05/10/2011 05:13 PM 908,801 apache-rat-0.6.jar 05/10/2011 05:13 PM 98,828 apache-rat-core-0.6.jar 05/10/2011 05:13 PM 16,369 apache-rat-tasks-0.6.jar 05/10/2011 05:13 PM 43,398 asm-3.2.jar 05/10/2011 05:13 PM 41,123 commons-cli-1.2.jar 05/10/2011 05:13 PM 46,725 commons-codec-1.3.jar 05/10/2011 05:13 PM 571,259 commons-collections-3.2.jar 05/10/2011 05:13 PM 112,341 commons-el-1.0.jar 05/10/2011 05:13 PM 279,781 commons-httpclient-3.0.1.jar 05/10/2011 05:13 PM 207,723 commons-lang-2.1.jar 05/10/2011 05:13 PM 60,686 commons-logging-1.1.1.jar 05/10/2011 05:13 PM 180,792 commons-net-1.4.1.jar 05/10/2011 05:13 PM 3,566,844 core-3.1.1.jar 05/10/2011 05:13 PM 2,858,220 hadoop-core-0.20.2-320.jar 05/10/2011 05:13 PM 107,668 hadoop-streaming-0.20.2-320.jar 05/10/2011 05:13 PM 706,710 hsqldb-1.8.0.10.jar 05/10/2011 05:13 PM 405,086 jasper-compiler-5.5.12.jar 05/10/2011 05:13 PM 76,698 jasper-runtime-5.5.12.jar 05/10/2011 05:13 PM 377,780 jets3t-0.7.1.jar 05/10/2011 05:13 PM 516,429 jetty-6.1.14.jar 05/10/2011 05:13 PM 163,121 jetty-util-6.1.14.jar 05/10/2011 05:13 PM 948,100 jna-3.2.7.jar 05/10/2011 05:13 PM 53,244 jopt-simple-3.2.jar 05/10/2011 05:13 PM 1,024,680 jsp-2.1-6.1.14.jar 05/10/2011 05:13 PM 134,910 jsp-api-2.1-6.1.14.jar 05/10/2011 05:13 PM 218,226 junit-4.6.jar 05/10/2011 05:13 PM 11,981 kfs-0.3.jar 05/10/2011 05:13 PM 65,261 oro-2.0.8.jar 05/10/2011 05:13 PM 3,069 paranamer-ant-2.1.jar 05/10/2011 05:13 PM 6,842 paranamer-generator-2.1.jar 05/10/2011 05:13 PM 171,790 qdox-1.10.jar 05/10/2011 05:13 PM 132,368 servlet-api-2.5-6.1.14.jar 05/10/2011 05:13 PM 15,010 xmlenc-0.52.jar 34 File(s) 15,165,912 bytes - - - - - - - Output of Ant's lib\sources: 05/10/2011 05:13 PM 1,727,380 ant-1.6.5-sources.jar 05/10/2011 05:13 PM 109,004 apache-rat-core-0.6-sources.jar 05/10/2011 05:13 PM 12,652 apache-rat-tasks-0.6-sources.jar 05/10/2011 05:13 PM 48,726 commons-cli-1.2-sources.jar 05/10/2011 05:13 PM 55,191 commons-codec-1.3-sources.jar 05/10/2011 05:13 PM 616,856 commons-collections-3.2-sources.jar 05/10/2011 05:13 PM 139,567 commons-el-1.0-sources.jar 05/10/2011 05:13 PM 357,651 commons-httpclient-3.0.1-sources.jar 05/10/2011 05:13 PM 261,790 commons-lang-2.1-sources.jar 05/10/2011 05:13 PM 74,976 commons-logging-1.1.1-sources.jar 05/10/2011 05:13 PM 290,122 commons-net-1.4.1-sources.jar 05/10/2011 05:13 PM 1,927,490 hadoop-core-0.20.2-320-sources.jar 05/10/2011 05:13 PM 75,371 hadoop-streaming-0.20.2-320-sources.jar 05/10/2011 05:13 PM 560,244 jets3t-0.7.1-sources.jar 05/10/2011 05:13 PM 380,578 jetty-6.1.14-sources.jar 05/10/2011 05:13 PM 117,051 jetty-util-6.1.14-sources.jar 05/10/2011 05:13 PM 113,302 jna-3.2.7-sources.jar 05/10/2011 05:13 PM 65,034 jopt-simple-3.2-sources.jar 05/10/2011 05:13 PM 1,228,115 jsp-2.1-6.1.14-sources.jar 05/10/2011 05:13 PM 318,093 jsp-api-2.1-6.1.14-sources.jar 05/10/2011 05:13 PM 116,587 junit-4.6-sources.jar 05/10/2011 05:13 PM 239,964 oro-2.0.8-sources.jar 05/10/2011 05:13 PM 2,202 paranamer-ant-2.1-sources.jar 05/10/2011 05:13 PM 6,372 paranamer-generator-2.1-sources.jar 05/10/2011 05:13 PM 101,377 qdox-1.10-sources.jar 05/10/2011 05:13 PM 183,849 servlet-api-2.5-6.1.14-sources.jar 26 File(s) 9,129,544 bytes - - - - - - - - - Cassandra 0.8.0 beta2's lib directory has different files that the two Ant build folders above: antlr-3.2.jar jackson-mapper-asl-1.4.0.jar apache-cassandra-0.8.0-beta2.jar jamm-0.2.2.jar apache-cassandra-thrift-0.8.0-beta2.jar jline-0.9.94.jar avro-1.4.0-fixes.jar jna.jar avro-1.4.0-sources-fixes.jar json-simple-1.1.jar commons-cli-1.1.jar libthrift-0.6.jar commons-codec-1.2.jar licenses commons-collections-3.2.1.jar log4j-1.2.16.jar commons-lang-2.4.jar mx4j-tools.jar concurrentlinkedhashmap-lru-1.1.jar servlet-api-2.5-20081211.jar guava-r08.jar slf4j-api-1.6.1.jar high-scale-lib-1.1.2.jar slf4j-log4j12-1.6.1.jar jackson-core-asl-1.4.0.jar snakeyaml-1.6.jar