SOLR-6120: zkcli.sh should expand solr.war automatically instead of throwing ClassNotFoundException

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598286 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2014-05-29 13:05:16 +00:00
parent 753e0a2592
commit 75e8b848e8
2 changed files with 7 additions and 0 deletions

View File

@ -139,6 +139,9 @@ Bug Fixes
* SOLR-6118: 'expand.sort' didn't support function queries. (David Smiley)
* SOLR-6120: zkcli.sh should expand solr.war automatically instead of throwing
ClassNotFoundException. (sebastian badea, shalin)
Other Changes
---------------------

View File

@ -9,5 +9,9 @@ JVM="java"
sdir="`dirname \"$0\"`"
if [ ! -d "$sdir/../../solr-webapp/webapp" ]; then
unzip $sdir/../../webapps/solr.war -d $sdir/../../solr-webapp/webapp
fi
PATH=$JAVA_HOME/bin:$PATH $JVM -Dlog4j.configuration=file:$sdir/log4j.properties -classpath "$sdir/../../solr-webapp/webapp/WEB-INF/lib/*:$sdir/../../lib/ext/*" org.apache.solr.cloud.ZkCLI ${1+"$@"}