incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From klich...@apache.org
Subject svn commit: r818649 - /incubator/olio/workload/java/trunk/bin/dbloader.sh
Date Thu, 24 Sep 2009 22:52:51 GMT
Author: klichong
Date: Thu Sep 24 22:52:51 2009
New Revision: 818649

URL: http://svn.apache.org/viewvc?rev=818649&view=rev
Log:
adding Shanti's fix for mysql-connector jar version problem

Modified:
    incubator/olio/workload/java/trunk/bin/dbloader.sh

Modified: incubator/olio/workload/java/trunk/bin/dbloader.sh
URL: http://svn.apache.org/viewvc/incubator/olio/workload/java/trunk/bin/dbloader.sh?rev=818649&r1=818648&r2=818649&view=diff
==============================================================================
--- incubator/olio/workload/java/trunk/bin/dbloader.sh (original)
+++ incubator/olio/workload/java/trunk/bin/dbloader.sh Thu Sep 24 22:52:51 2009
@@ -48,7 +48,8 @@
 echo benchhome is $BENCH_HOME
 B=$BENCH_HOME/lib
 L=$FABAN_HOME/lib
-CLASSPATH=$B/mysql-connector-java-5.0.6-bin.jar:$B/JSON.jar:$B/OlioDriver.jar:\
+MYSQL_JAR=`ls -r $B/mysql-connector*.jar | head -1`
+CLASSPATH=$MYSQL_JAR:$B/mysql-connector-java-5.0.6-bin.jar:$B/JSON.jar:$B/OlioDriver.jar:\
 $L/fabancommon.jar:$L/commons-logging.jar:$L/fabandriver.jar:$L/fabanagents.jar
 export CLASSPATH
 



Mime
View raw message