#!/bin/bash


for file in lib/*.jar;
do
	CLASSPATH=$CLASSPATH:$file
done

for file in dist/*.jar;
do
  CLASSPATH=$CLASSPATH:$file
done
CLASSPATH=$CLASSPATH:dist/resources



echo $CLASSPATH
export CLASSPATH=$CLASSPATH

echo $CLASSPATH
javac -cp $CLASSPATH -d . src/java/voldemort/TranslateIntoColumnStore.java
javac -cp $CLASSPATH -d . src/java/voldemort/AsynchronousTranslateIntoColumnStore.java
javac -cp $CLASSPATH -d . src/java/voldemort/computeTimingML.java
javac -cp $CLASSPATH -d . src/java/voldemort/printSubsets.java
javac -cp $CLASSPATH -d . src/java/voldemort/SimpleMasterBucketRecord.java
javac -cp $CLASSPATH -d . src/java/voldemort/SimpleBucketIndex.java
javac -cp $CLASSPATH -d . src/java/voldemort/SimpleBucketIndexDriver.java
javac -cp $CLASSPATH -d . src/java/voldemort/SimpleIndex.java
javac -cp $CLASSPATH -d . src/java/voldemort/SimpleIndexDriver.java


