mirror of https://github.com/apache/lucene.git
SOLR-6120: Print a helpful error message from zkcli.bat when war is not extracted.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610463 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fb399dfe02
commit
61ad099fe9
|
@ -209,6 +209,10 @@ Other Changes
|
|||
|
||||
* SOLR-6228: Fixed bug in TestReplicationHandler.doTestIndexAndConfigReplication. (shalin)
|
||||
|
||||
* SOLR-6120: On Windows, when the war is not extracted, the zkcli.bat script
|
||||
will print a helpful message indicating that the war must be unzipped instead
|
||||
of a java error about a missing class.
|
||||
|
||||
================== 4.9.0 ==================
|
||||
|
||||
Versions of Major Components
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
@echo off
|
||||
REM You can override pass the following parameters to this script:
|
||||
REM
|
||||
|
||||
|
@ -8,4 +9,13 @@ REM Find location of this script
|
|||
set SDIR=%~dp0
|
||||
if "%SDIR:~-1%"=="\" set SDIR=%SDIR:~0,-1%
|
||||
|
||||
IF exist %SDIR%\..\..\solr-webapp\webapp\nul (
|
||||
echo %SDIR%\....\..\solr-webapp\webapp exists
|
||||
) ELSE (
|
||||
echo -------------------
|
||||
echo Unzip example\webapps\solr.war to example\solr-webapp\. to use this script.
|
||||
echo Starting the Solr example via start.jar will also do this extraction.
|
||||
echo -------------------
|
||||
)
|
||||
|
||||
"%JVM%" -Dlog4j.configuration="file:%SDIR%\log4j.properties" -classpath "%SDIR%\..\..\solr-webapp\webapp\WEB-INF\lib\*;%SDIR%\..\..\lib\ext\*" org.apache.solr.cloud.ZkCLI %*
|
||||
|
|
Loading…
Reference in New Issue