<commit_before><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- WARNING: Eclipse auto-generated file.
              Any modifications will be overwritten.
              To include a user specific buildfile here, simply create one in the same
              directory with the processing instruction <?eclipse.ant.import?>
              as the first entry and export the buildfile again. -->
<project basedir="." default="build" name="rain">
    <property environment="env"/>
    <property name="debuglevel" value="source,lines,vars"/>
    <property name="target" value="1.6"/>
    <property name="source" value="1.6"/>
    <path id="rain.classpath">
    	<pathelement location="."/>
    	<pathelement location="bin"/>
<!--
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/commons-codec-1.6.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/fluent-hc-4.2.3.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/httpclient-cache-4.2.3.jar"/>
-->
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/commons-logging-1.1.1.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/httpclient-4.2.3.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/httpcore-4.2.2.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/httpmime-4.2.3.jar"/>
        <pathelement location="thirdparty/json-20090211.jar"/>
    	<pathelement location="thirdparty/colt-1.2.0/colt.jar"/>
    	<!-- zookeeper stuff -->
    	<pathelement location="thirdparty/zookeeper-3.3.2/zookeeper-3.3.2.jar"/>
    	<pathelement location="thirdparty/zookeeper-3.3.2/lib/jline-0.9.94.jar"/>
    	<pathelement location="thirdparty/zookeeper-3.3.2/lib/log4j-1.2.15.jar"/>
    	<!-- mysql stuff -->
    	<pathelement location="thirdparty/mysql-connector-java-5.1.14/mysql-connector-java-5.1.14-bin.jar"/>
    	<!-- Mongo stuff -->
    	<pathelement location="thirdparty/mongo-2.5.3/mongo-2.5.3.jar"/>
    	<!-- Riak stuff -->
    	<pathelement location="thirdparty/riak-java-client/target/riak-client-1.0.6-SNAPSHOT-jar-with-dependencies.jar"/>
    	<!-- Redis stuff -->
    	<pathelement location="thirdparty/jedis/target/jedis-1.5.3-SNAPSHOT.jar"/>
    	<pathelement location="thirdparty/commons-pool-1.5.6/commons-pool-1.5.6.jar"/>
    	<!-- S3 stuff -->
    	<pathelement location="thirdparty/jets3t-0.8.1/jars/jets3t-0.8.1.jar"/>
    	<pathelement location="thirdparty/jets3t-0.8.1/libs/commons-codec/commons-codec-1.3.jar"/>
    	<pathelement location="thirdparty/jets3t-0.8.1/libs/commons-httpclient/commons-httpclient-3.1.jar"/>
    	<pathelement location="thirdparty/jets3t-0.8.1/libs/commons-logging/commons-logging-1.1.1.jar"/>
    	<!--  HBase stuff  -->
    	<pathelement location="thirdparty/hbase-0.92.1/hbase-0.92.1.jar"/>
    	<fileset dir="thirdparty/hbase-0.92.1/lib/" includes="*.jar"/>
    	<!-- Cassandra stuff -->
    	<fileset dir="thirdparty/hector-core-1.0-1/" includes="*.jar"/>
    </path>
	<path id="rain.classpath.with.mr">
        <pathelement location="bin"/>
<!--
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/commons-codec-1.6.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/fluent-hc-4.2.3.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/httpclient-cache-4.2.3.jar"/>
-->
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/commons-logging-1.1.1.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/httpclient-4.2.3.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/httpcore-4.2.2.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.3/lib/httpmime-4.2.3.jar"/>
        <pathelement location="thirdparty/json-20090211.jar"/>
    	<pathelement location="thirdparty/colt-1.2.0/colt.jar"/>
		<!-- zookeeper stuff -->
    	<pathelement location="thirdparty/zookeeper-3.3.2/zookeeper-3.3.2.jar"/>
    	<pathelement location="thirdparty/zookeeper-3.3.2/lib/jline-0.9.94.jar"/>
    	<pathelement location="thirdparty/zookeeper-3.3.2/lib/log4j-1.2.15.jar"/>
		<!-- hadoop stuff -->
		<pathelement location="thirdparty/hadoop-0.20.2/hadoop-0.20.2-core.jar"/>
		<pathelement location="thirdparty/hadoop-0.20.2/hadoop-0.20.2-examples.jar"/>
		<pathelement location="thirdparty/hadoop-0.20.2/hadoop-0.20.2-tools.jar"/>
		<pathelement location="thirdparty/hadoop-0.20.2/lib/commons-cli-1.2.jar"/>
		<pathelement location="thirdparty/hadoop-0.20.2/lib/commons-httpclient-3.0.1.jar"/>
		<!-- mysql stuff -->
		<pathelement location="thirdparty/mysql-connector-java-5.1.14/mysql-connector-java-5.1.14-bin.jar"/>
		<!-- Mongo stuff -->
		<pathelement location="thirdparty/mongo-2.5.3/mongo-2.5.3.jar"/>
		<!-- Riak stuff -->
		<pathelement location="thirdparty/riak-java-client/target/riak-client-1.0.6-SNAPSHOT-jar-with-dependencies.jar"/>
		<!-- Redis stuff -->
		<pathelement location="thirdparty/jedis/target/jedis-1.5.3-SNAPSHOT.jar"/>
		<pathelement location="thirdparty/commons-pool-1.5.6/commons-pool-1.5.6.jar"/>
		<!-- S3 stuff -->
		<pathelement location="thirdparty/jets3t-0.8.1/jars/jets3t-0.8.1.jar"/>
		<pathelement location="thirdparty/jets3t-0.8.1/libs/commons-codec/commons-codec-1.3.jar"/>
		<pathelement location="thirdparty/jets3t-0.8.1/libs/commons-httpclient/commons-httpclient-3.1.jar"/>
		<pathelement location="thirdparty/jets3t-0.8.1/libs/commons-logging/commons-logging-1.1.1.jar"/>
		<!--  HBase stuff  -->
    	<pathelement location="thirdparty/hbase-0.92.1/hbase-0.92.1.jar"/>
    	<pathelement location="thirdparty/hbase-0.92.1/lib/*.jar"/>
    	<!-- Cassandra stuff -->
    	<fileset dir="thirdparty/hector-core-1.0-1/" includes="*.jar"/>
    </path>
    <target name="init">
        <mkdir dir="bin"/>
        <copy includeemptydirs="false" todir="bin">
            <fileset dir="src">
                <exclude name="**/*.launch"/>
                <exclude name="**/*.java"/>
            </fileset>
        </copy>
    </target>
    <target name="clean">
        <delete dir="bin"/>
    </target>
    <target depends="clean" name="cleanall"/>
    <target depends="build-subprojects,build-project" name="build"/>
    <target name="build-subprojects"/>
    <target depends="init" name="build-project">
        <echo message="${ant.project.name}: ${ant.file}"/>
        <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}" excludes="radlab/rain/workload/mapreduce/**">
            <src path="src"/>
            <classpath refid="rain.classpath"/>
        </javac>
    </target>
	<target depends="init" name="build-with-mr">
        <echo message="${ant.project.name}: ${ant.file}"/>
        <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
            <src path="src"/>
            <classpath refid="rain.classpath.with.mr"/>
        </javac>
    </target>
    <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
    <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
        <copy todir="${ant.library.dir}">
            <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
        </copy>
        <unzip dest="${ant.library.dir}">
            <patternset includes="jdtCompilerAdapter.jar"/>
            <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
        </unzip>
    </target>
    <target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
        <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
        <antcall target="build"/>
    </target>
    <target depends="build" name="Benchmark">
        <java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
            <classpath refid="rain.classpath"/>
        	<jvmarg value="-Xmx1g" />
        	<jvmarg value="-Xms256m" />
        	<jvmarg value="-XX:+DisableExplicitGC"/>
        	<arg file="rain.single_user.config.json"/>
        </java>
    </target>
    <target depends="build" name="Benchmark-null">
        <java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
            <classpath refid="rain.classpath"/>
                <jvmarg value="-Xmx1g" />
                <jvmarg value="-Xms256m" />
                <jvmarg value="-XX:+DisableExplicitGC"/>
                <arg file="config/rain.config.null.json"/>
        </java>
    </target>
	<target depends="build" name="Benchmark-olio">
        <java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
            <classpath refid="rain.classpath"/>
                <jvmarg value="-Xmx1g" />
                <jvmarg value="-Xms256m" />
                <jvmarg value="-XX:+DisableExplicitGC"/>
                <arg file="config/rain.config.olio.json"/>
        </java>
    </target>
	<target depends="build" name="Benchmark-httptest">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.ac.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-scadr">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.scadr.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-scadr-wiki">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.scadr.wiki.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-gradit">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.gradit.json"/>
	    </java>
	</target>
	<target depends="build-with-mr" name="Benchmark-mapreduce">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath.with.mr"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.mapreduce.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-mongodb">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.mongo.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-mongodb-diurnal">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.mongo.diurnal.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-riak">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.riak.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-redis">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.redis.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-s3">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.s3.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-hbase">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath>
	    	    <pathelement location="rain.jar"/>
	    	    <pathelement location="workloads/hbase.jar"/>
	    	    <pathelement location="thirdparty/hbase-0.92.1/hbase-0.92.1.jar"/>
    			<fileset dir="thirdparty/hbase-0.92.1/lib/" includes="*.jar"/>
	    	</classpath>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.hbase.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-cassandra">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath>
	    	    <pathelement location="rain.jar"/>
	    	    <pathelement location="workloads/cassandra.jar"/>
	    	    <fileset dir="thirdparty/hector-core-1.0-1/" includes="*.jar"/>
	    	</classpath>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.cassandra.json"/>
	    </java>
	</target>
    <target depends="build" name="package">
        <jar destfile="rain.jar" filesetmanifest="mergewithoutmain">
            <manifest>
                <attribute name="Main-Class" value="radlab.rain.Benchmark"/>
            </manifest>
            <fileset dir="bin" excludes="radlab/rain/workload/** radlab/rain/test/**"/>
<!--
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/commons-codec-1.6.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/fluent-hc-4.2.3.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/httpclient-cache-4.2.3.jar"/>
-->
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/commons-logging-1.1.1.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/httpclient-4.2.3.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/httpcore-4.2.2.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/httpmime-4.2.3.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/json-20090211.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/colt-1.2.0/colt.jar"/>
        	<!-- Zookeeper stuff -->
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/zookeeper-3.3.2/zookeeper-3.3.2.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/zookeeper-3.3.2/lib/jline-0.9.94.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/zookeeper-3.3.2/lib/log4j-1.2.15.jar"/>
        	<!-- MySQL stuff -->
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/mysql-connector-java-5.1.14/mysql-connector-java-5.1.14-bin.jar"/>
        </jar>
    </target>
	<target depends="build-with-mr" name="package-with-mr">
        <jar destfile="rain.jar" filesetmanifest="mergewithoutmain">
            <manifest>
                <attribute name="Main-Class" value="radlab.rain.Benchmark"/>
            </manifest>
            <fileset dir="bin" excludes="radlab/rain/workload/** radlab/rain/test/**"/>
<!--
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/commons-codec-1.6.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/fluent-hc-4.2.3.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/httpclient-cache-4.2.3.jar"/>
-->
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/commons-logging-1.1.1.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/httpclient-4.2.3.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/httpcore-4.2.2.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.3/lib/httpmime-4.2.3.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/json-20090211.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/colt-1.2.0/colt.jar"/>
        	<!-- zookeeper stuff -->
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/zookeeper-3.3.2/zookeeper-3.3.2.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/zookeeper-3.3.2/lib/jline-0.9.94.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/zookeeper-3.3.2/lib/log4j-1.2.15.jar"/>
        	<!-- hadoop stuff -->
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/hadoop-0.20.2/hadoop-0.20.2-core.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/hadoop-0.20.2/hadoop-0.20.2-examples.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/hadoop-0.20.2/hadoop-0.20.2-tools.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/hadoop-0.20.2/lib/commons-cli-1.2.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/hadoop-0.20.2/lib/commons-httpclient-3.0.1.jar"/>
        	<!-- mysql stuff -->
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/mysql-connector-java-5.1.14/mysql-connector-java-5.1.14-bin.jar"/>
        </jar>
    </target>
	<target depends="build-with-mr" name="package-mapreduce">
        <mkdir dir="workloads"/><commit_msg>[rubis] (change:minor) Use Apache http-components-client v. 4.2.5 in place of v. 4.2.3.<commit_after><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- WARNING: Eclipse auto-generated file.
              Any modifications will be overwritten.
              To include a user specific buildfile here, simply create one in the same
              directory with the processing instruction <?eclipse.ant.import?>
              as the first entry and export the buildfile again. -->
<project basedir="." default="build" name="rain">
    <property environment="env"/>
    <property name="debuglevel" value="source,lines,vars"/>
    <property name="target" value="1.6"/>
    <property name="source" value="1.6"/>
    <path id="rain.classpath">
    	<pathelement location="."/>
    	<pathelement location="bin"/>
<!--
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/commons-codec-1.6.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/fluent-hc-4.2.5.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/httpclient-cache-4.2.5.jar"/>
-->
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/commons-logging-1.1.1.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/httpclient-4.2.5.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/httpcore-4.2.4.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/httpmime-4.2.5.jar"/>
        <pathelement location="thirdparty/json-20090211.jar"/>
    	<pathelement location="thirdparty/colt-1.2.0/colt.jar"/>
    	<!-- zookeeper stuff -->
    	<pathelement location="thirdparty/zookeeper-3.3.2/zookeeper-3.3.2.jar"/>
    	<pathelement location="thirdparty/zookeeper-3.3.2/lib/jline-0.9.94.jar"/>
    	<pathelement location="thirdparty/zookeeper-3.3.2/lib/log4j-1.2.15.jar"/>
    	<!-- mysql stuff -->
    	<pathelement location="thirdparty/mysql-connector-java-5.1.14/mysql-connector-java-5.1.14-bin.jar"/>
    	<!-- Mongo stuff -->
    	<pathelement location="thirdparty/mongo-2.5.3/mongo-2.5.3.jar"/>
    	<!-- Riak stuff -->
    	<pathelement location="thirdparty/riak-java-client/target/riak-client-1.0.6-SNAPSHOT-jar-with-dependencies.jar"/>
    	<!-- Redis stuff -->
    	<pathelement location="thirdparty/jedis/target/jedis-1.5.3-SNAPSHOT.jar"/>
    	<pathelement location="thirdparty/commons-pool-1.5.6/commons-pool-1.5.6.jar"/>
    	<!-- S3 stuff -->
    	<pathelement location="thirdparty/jets3t-0.8.1/jars/jets3t-0.8.1.jar"/>
    	<pathelement location="thirdparty/jets3t-0.8.1/libs/commons-codec/commons-codec-1.3.jar"/>
    	<pathelement location="thirdparty/jets3t-0.8.1/libs/commons-httpclient/commons-httpclient-3.1.jar"/>
    	<pathelement location="thirdparty/jets3t-0.8.1/libs/commons-logging/commons-logging-1.1.1.jar"/>
    	<!--  HBase stuff  -->
    	<pathelement location="thirdparty/hbase-0.92.1/hbase-0.92.1.jar"/>
    	<fileset dir="thirdparty/hbase-0.92.1/lib/" includes="*.jar"/>
    	<!-- Cassandra stuff -->
    	<fileset dir="thirdparty/hector-core-1.0-1/" includes="*.jar"/>
    </path>
	<path id="rain.classpath.with.mr">
        <pathelement location="bin"/>
<!--
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/commons-codec-1.6.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/fluent-hc-4.2.5.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/httpclient-cache-4.2.5.jar"/>
-->
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/commons-logging-1.1.1.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/httpclient-4.2.5.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/httpcore-4.2.4.jar"/>
        <pathelement location="thirdparty/httpcomponents-client-4.2.5/lib/httpmime-4.2.5.jar"/>
        <pathelement location="thirdparty/json-20090211.jar"/>
    	<pathelement location="thirdparty/colt-1.2.0/colt.jar"/>
		<!-- zookeeper stuff -->
    	<pathelement location="thirdparty/zookeeper-3.3.2/zookeeper-3.3.2.jar"/>
    	<pathelement location="thirdparty/zookeeper-3.3.2/lib/jline-0.9.94.jar"/>
    	<pathelement location="thirdparty/zookeeper-3.3.2/lib/log4j-1.2.15.jar"/>
		<!-- hadoop stuff -->
		<pathelement location="thirdparty/hadoop-0.20.2/hadoop-0.20.2-core.jar"/>
		<pathelement location="thirdparty/hadoop-0.20.2/hadoop-0.20.2-examples.jar"/>
		<pathelement location="thirdparty/hadoop-0.20.2/hadoop-0.20.2-tools.jar"/>
		<pathelement location="thirdparty/hadoop-0.20.2/lib/commons-cli-1.2.jar"/>
		<pathelement location="thirdparty/hadoop-0.20.2/lib/commons-httpclient-3.0.1.jar"/>
		<!-- mysql stuff -->
		<pathelement location="thirdparty/mysql-connector-java-5.1.14/mysql-connector-java-5.1.14-bin.jar"/>
		<!-- Mongo stuff -->
		<pathelement location="thirdparty/mongo-2.5.3/mongo-2.5.3.jar"/>
		<!-- Riak stuff -->
		<pathelement location="thirdparty/riak-java-client/target/riak-client-1.0.6-SNAPSHOT-jar-with-dependencies.jar"/>
		<!-- Redis stuff -->
		<pathelement location="thirdparty/jedis/target/jedis-1.5.3-SNAPSHOT.jar"/>
		<pathelement location="thirdparty/commons-pool-1.5.6/commons-pool-1.5.6.jar"/>
		<!-- S3 stuff -->
		<pathelement location="thirdparty/jets3t-0.8.1/jars/jets3t-0.8.1.jar"/>
		<pathelement location="thirdparty/jets3t-0.8.1/libs/commons-codec/commons-codec-1.3.jar"/>
		<pathelement location="thirdparty/jets3t-0.8.1/libs/commons-httpclient/commons-httpclient-3.1.jar"/>
		<pathelement location="thirdparty/jets3t-0.8.1/libs/commons-logging/commons-logging-1.1.1.jar"/>
		<!--  HBase stuff  -->
    	<pathelement location="thirdparty/hbase-0.92.1/hbase-0.92.1.jar"/>
    	<pathelement location="thirdparty/hbase-0.92.1/lib/*.jar"/>
    	<!-- Cassandra stuff -->
    	<fileset dir="thirdparty/hector-core-1.0-1/" includes="*.jar"/>
    </path>
    <target name="init">
        <mkdir dir="bin"/>
        <copy includeemptydirs="false" todir="bin">
            <fileset dir="src">
                <exclude name="**/*.launch"/>
                <exclude name="**/*.java"/>
            </fileset>
        </copy>
    </target>
    <target name="clean">
        <delete dir="bin"/>
    </target>
    <target depends="clean" name="cleanall"/>
    <target depends="build-subprojects,build-project" name="build"/>
    <target name="build-subprojects"/>
    <target depends="init" name="build-project">
        <echo message="${ant.project.name}: ${ant.file}"/>
        <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}" excludes="radlab/rain/workload/mapreduce/**">
            <src path="src"/>
            <classpath refid="rain.classpath"/>
        </javac>
    </target>
	<target depends="init" name="build-with-mr">
        <echo message="${ant.project.name}: ${ant.file}"/>
        <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
            <src path="src"/>
            <classpath refid="rain.classpath.with.mr"/>
        </javac>
    </target>
    <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
    <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
        <copy todir="${ant.library.dir}">
            <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
        </copy>
        <unzip dest="${ant.library.dir}">
            <patternset includes="jdtCompilerAdapter.jar"/>
            <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
        </unzip>
    </target>
    <target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
        <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
        <antcall target="build"/>
    </target>
    <target depends="build" name="Benchmark">
        <java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
            <classpath refid="rain.classpath"/>
        	<jvmarg value="-Xmx1g" />
        	<jvmarg value="-Xms256m" />
        	<jvmarg value="-XX:+DisableExplicitGC"/>
        	<arg file="rain.single_user.config.json"/>
        </java>
    </target>
    <target depends="build" name="Benchmark-null">
        <java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
            <classpath refid="rain.classpath"/>
                <jvmarg value="-Xmx1g" />
                <jvmarg value="-Xms256m" />
                <jvmarg value="-XX:+DisableExplicitGC"/>
                <arg file="config/rain.config.null.json"/>
        </java>
    </target>
	<target depends="build" name="Benchmark-olio">
        <java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
            <classpath refid="rain.classpath"/>
                <jvmarg value="-Xmx1g" />
                <jvmarg value="-Xms256m" />
                <jvmarg value="-XX:+DisableExplicitGC"/>
                <arg file="config/rain.config.olio.json"/>
        </java>
    </target>
	<target depends="build" name="Benchmark-httptest">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.ac.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-scadr">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.scadr.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-scadr-wiki">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.scadr.wiki.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-gradit">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.gradit.json"/>
	    </java>
	</target>
	<target depends="build-with-mr" name="Benchmark-mapreduce">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath.with.mr"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.mapreduce.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-mongodb">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.mongo.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-mongodb-diurnal">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.mongo.diurnal.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-riak">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.riak.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-redis">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.redis.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-s3">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath refid="rain.classpath"/>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.s3.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-hbase">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath>
	    	    <pathelement location="rain.jar"/>
	    	    <pathelement location="workloads/hbase.jar"/>
	    	    <pathelement location="thirdparty/hbase-0.92.1/hbase-0.92.1.jar"/>
    			<fileset dir="thirdparty/hbase-0.92.1/lib/" includes="*.jar"/>
	    	</classpath>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.hbase.json"/>
	    </java>
	</target>
	<target depends="build" name="Benchmark-cassandra">
		<java classname="radlab.rain.Benchmark" failonerror="true" fork="yes">
	    	<classpath>
	    	    <pathelement location="rain.jar"/>
	    	    <pathelement location="workloads/cassandra.jar"/>
	    	    <fileset dir="thirdparty/hector-core-1.0-1/" includes="*.jar"/>
	    	</classpath>
	    	<jvmarg value="-Xmx1g" />
	    	<jvmarg value="-Xms256m" />
	    	<jvmarg value="-XX:+DisableExplicitGC"/>
	        <arg file="config/rain.config.cassandra.json"/>
	    </java>
	</target>
    <target depends="build" name="package">
        <jar destfile="rain.jar" filesetmanifest="mergewithoutmain">
            <manifest>
                <attribute name="Main-Class" value="radlab.rain.Benchmark"/>
            </manifest>
            <fileset dir="bin" excludes="radlab/rain/workload/** radlab/rain/test/**"/>
<!--
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/commons-codec-1.6.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/fluent-hc-4.2.5.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/httpclient-cache-4.2.5.jar"/>
-->
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/commons-logging-1.1.1.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/httpclient-4.2.5.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/httpcore-4.2.4.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/httpmime-4.2.5.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/json-20090211.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/colt-1.2.0/colt.jar"/>
        	<!-- Zookeeper stuff -->
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/zookeeper-3.3.2/zookeeper-3.3.2.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/zookeeper-3.3.2/lib/jline-0.9.94.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/zookeeper-3.3.2/lib/log4j-1.2.15.jar"/>
        	<!-- MySQL stuff -->
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/mysql-connector-java-5.1.14/mysql-connector-java-5.1.14-bin.jar"/>
        </jar>
    </target>
	<target depends="build-with-mr" name="package-with-mr">
        <jar destfile="rain.jar" filesetmanifest="mergewithoutmain">
            <manifest>
                <attribute name="Main-Class" value="radlab.rain.Benchmark"/>
            </manifest>
            <fileset dir="bin" excludes="radlab/rain/workload/** radlab/rain/test/**"/>
<!--
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/commons-codec-1.6.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/fluent-hc-4.2.5.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/httpclient-cache-4.2.5.jar"/>
-->
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/commons-logging-1.1.1.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/httpclient-4.2.5.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/httpcore-4.2.4.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/httpcomponents-client-4.2.5/lib/httpmime-4.2.5.jar"/>
            <zipfileset excludes="META-INF/*.SF" src="thirdparty/json-20090211.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/colt-1.2.0/colt.jar"/>
        	<!-- zookeeper stuff -->
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/zookeeper-3.3.2/zookeeper-3.3.2.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/zookeeper-3.3.2/lib/jline-0.9.94.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/zookeeper-3.3.2/lib/log4j-1.2.15.jar"/>
        	<!-- hadoop stuff -->
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/hadoop-0.20.2/hadoop-0.20.2-core.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/hadoop-0.20.2/hadoop-0.20.2-examples.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/hadoop-0.20.2/hadoop-0.20.2-tools.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/hadoop-0.20.2/lib/commons-cli-1.2.jar"/>
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/hadoop-0.20.2/lib/commons-httpclient-3.0.1.jar"/>
        	<!-- mysql stuff -->
        	<zipfileset excludes="META-INF/*.SF" src="thirdparty/mysql-connector-java-5.1.14/mysql-connector-java-5.1.14-bin.jar"/>
        </jar>
    </target>
	<target depends="build-with-mr" name="package-mapreduce">
        <mkdir dir="workloads"/>
{'fraction_non_alphanumeric': 0.19238761894345402, 'fraction_numerical': 0.03319479383134639, 'mean_word_length': 2.96799392427037, 'pattern_counts': {'":': 0, '<': 663, '<?xml version=': 2, '>': 663, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3647246', 'n_tokens_mistral': 13812, 'n_tokens_neox': 13043, 'n_words': 1552}