Permalink
Browse files

Fix scripts to include contrib jars too.

  • Loading branch information...
1 parent d686db5 commit 894dcce4c8400a575eede7a5aaf9bcfbacd1f0b1 @jkreps jkreps committed Jul 12, 2010
Showing with 8 additions and 2 deletions.
  1. +6 −1 bin/run-class.sh
  2. +1 −1 bin/voldemort-server.sh
  3. +1 −0 src/java/log4j.properties
View
@@ -28,14 +28,19 @@ do
CLASSPATH=$CLASSPATH:$file
done
+for file in $base_dir/contrib/*/lib/*.jar;
+do
+ CLASSPATH=$CLASSPATH:$file
+done
+
for file in $base_dir/dist/*.jar;
do
CLASSPATH=$CLASSPATH:$file
done
CLASSPATH=$CLASSPATH:$base_dir/dist/resources
if [ -z "$VOLD_OPTS" ]; then
- VOLD_OPTS="-Xmx2G -server -Dcom.sun.management.jmxremote"
+ VOLD_OPTS="-Xmx2G -server -Dcom.sun.management.jmxremote "
fi
export CLASSPATH
View
@@ -34,7 +34,7 @@ do
CLASSPATH=$CLASSPATH:$file
done
-for file in $base_dir/contrib/hadoop-store-builder/lib/*.jar $base_dir/contrib/krati/lib/*.jar;
+for file in $base_dir/contrib/*/lib/*.jar;
do
CLASSPATH=$CLASSPATH:$file
done
@@ -16,3 +16,4 @@ log4j.logger.voldemort.server.niosocket=INFO
log4j.logger.voldemort.utils=INFO
log4j.logger.voldemort.client.rebalance=INFO
log4j.logger.voldemort.server=INFO
+log4j.logger.krati=WARN

0 comments on commit 894dcce

Please sign in to comment.