You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by eh...@apache.org on 2014/11/11 23:41:58 UTC
svn commit: r1638496 - in /lucene/dev/branches/lucene_solr_4_10: ./ solr/
solr/bin/ solr/example/ solr/example/example-DIH/solr/db/conf/
solr/example/example-DIH/solr/mail/conf/
solr/example/example-DIH/solr/rss/conf/ solr/example/example-DIH/solr/solr...
Author: ehatcher
Date: Tue Nov 11 22:41:57 2014
New Revision: 1638496
URL: http://svn.apache.org/r1638496
Log:
SOLR-6661: Adjust all example configurations to allow overriding error-prone relative paths for solrconfig.xml <lib> references with solr.install.dir system property; bin/solr scripts will set it appropriately. (merged from branch_5x r1634771, manually fixing solr/CHANGES.txt conflict)
Modified:
lucene/dev/branches/lucene_solr_4_10/ (props changed)
lucene/dev/branches/lucene_solr_4_10/solr/ (props changed)
lucene/dev/branches/lucene_solr_4_10/solr/CHANGES.txt
lucene/dev/branches/lucene_solr_4_10/solr/bin/ (props changed)
lucene/dev/branches/lucene_solr_4_10/solr/bin/solr
lucene/dev/branches/lucene_solr_4_10/solr/bin/solr.cmd
lucene/dev/branches/lucene_solr_4_10/solr/example/ (props changed)
lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/db/conf/solrconfig.xml
lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/mail/conf/solrconfig.xml
lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/rss/conf/solrconfig.xml
lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/solr/conf/solrconfig.xml
lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/tika/conf/solrconfig.xml
lucene/dev/branches/lucene_solr_4_10/solr/example/example-schemaless/solr/collection1/conf/solrconfig.xml
lucene/dev/branches/lucene_solr_4_10/solr/example/solr/collection1/conf/solrconfig.xml
Modified: lucene/dev/branches/lucene_solr_4_10/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/CHANGES.txt?rev=1638496&r1=1638495&r2=1638496&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_10/solr/CHANGES.txt (original)
+++ lucene/dev/branches/lucene_solr_4_10/solr/CHANGES.txt Tue Nov 11 22:41:57 2014
@@ -37,6 +37,12 @@ Bug Fixes
scripts; remove -XX:+AggressiveOpts and only set -XX:-UseSuperWord for Java 1.7u40
to u51. (Uwe Schindler, janhoy, hossman, Timothy Potter)
+Other Changes
+----------------------
+
+* SOLR-6661: Adjust all example configurations to allow overriding error-prone
+ relative paths for solrconfig.xml <lib> references with solr.install.dir
+ system property; bin/solr scripts will set it appropriately. (ehatcher)
================== 4.10.2 ==================
Modified: lucene/dev/branches/lucene_solr_4_10/solr/bin/solr
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/bin/solr?rev=1638496&r1=1638495&r2=1638496&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_10/solr/bin/solr (original)
+++ lucene/dev/branches/lucene_solr_4_10/solr/bin/solr Tue Nov 11 22:41:57 2014
@@ -888,6 +888,7 @@ function launch_solr() {
-DSTOP.PORT=$stop_port -DSTOP.KEY=$STOP_KEY \
$SOLR_HOST_ARG -Djetty.port=$SOLR_PORT \
-Dsolr.solr.home=$SOLR_HOME \
+-Dsolr.install.dir=$SOLR_TIP \
-Duser.timezone=$SOLR_TIMEZONE \
-Djava.net.preferIPv4Stack=true"
Modified: lucene/dev/branches/lucene_solr_4_10/solr/bin/solr.cmd
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/bin/solr.cmd?rev=1638496&r1=1638495&r2=1638496&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_10/solr/bin/solr.cmd (original)
+++ lucene/dev/branches/lucene_solr_4_10/solr/bin/solr.cmd Tue Nov 11 22:41:57 2014
@@ -579,10 +579,10 @@ cd "%SOLR_SERVER_DIR%"
IF "%FG%"=="1" (
REM run solr in the foreground
"%JAVA%" -server -Xss256k %SOLR_JAVA_MEM% %START_OPTS% -DSTOP.PORT=%STOP_PORT% -DSTOP.KEY=%STOP_KEY% ^
- -Djetty.port=%SOLR_PORT% -Dsolr.solr.home="%SOLR_HOME%" -jar start.jar
+ -Djetty.port=%SOLR_PORT% -Dsolr.solr.home="%SOLR_HOME%" -Dsolr.install.dir="%SOLR_TIP%" -jar start.jar
) ELSE (
START "" "%JAVA%" -server -Xss256k %SOLR_JAVA_MEM% %START_OPTS% -DSTOP.PORT=%STOP_PORT% -DSTOP.KEY=%STOP_KEY% ^
- -Djetty.port=%SOLR_PORT% -Dsolr.solr.home="%SOLR_HOME%" -jar start.jar > "%SOLR_SERVER_DIR%\logs\solr-%SOLR_PORT%-console.log"
+ -Djetty.port=%SOLR_PORT% -Dsolr.solr.home="%SOLR_HOME%" -Dsolr.install.dir="%SOLR_TIP%" -jar start.jar > "%SOLR_SERVER_DIR%\logs\solr-%SOLR_PORT%-console.log"
)
goto done
Modified: lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/db/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/db/conf/solrconfig.xml?rev=1638496&r1=1638495&r2=1638496&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/db/conf/solrconfig.xml (original)
+++ lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/db/conf/solrconfig.xml Tue Nov 11 22:41:57 2014
@@ -72,19 +72,19 @@
The examples below can be used to load some solr-contribs along
with their external dependencies.
-->
- <lib dir="../../../../dist/" regex="solr-dataimporthandler-.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-dataimporthandler-.*\.jar" />
- <lib dir="../../../../contrib/extraction/lib" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-cell-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/extraction/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-cell-\d.*\.jar" />
- <lib dir="../../../../contrib/clustering/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-clustering-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/clustering/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-clustering-\d.*\.jar" />
- <lib dir="../../../../contrib/langid/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-langid-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/langid/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-langid-\d.*\.jar" />
- <lib dir="../../../../contrib/velocity/lib" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-velocity-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/velocity/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-velocity-\d.*\.jar" />
<!-- an exact 'path' can be used instead of a 'dir' to specify a
specific jar file. This will cause a serious error to be logged
Modified: lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/mail/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/mail/conf/solrconfig.xml?rev=1638496&r1=1638495&r2=1638496&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/mail/conf/solrconfig.xml (original)
+++ lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/mail/conf/solrconfig.xml Tue Nov 11 22:41:57 2014
@@ -72,22 +72,22 @@
The examples below can be used to load some solr-contribs along
with their external dependencies.
-->
- <lib dir="../../../../contrib/dataimporthandler/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-dataimporthandler-.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/dataimporthandler/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-dataimporthandler-.*\.jar" />
- <lib dir="../../../../contrib/dataimporthandler-extras/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/dataimporthandler-extras/lib/" regex=".*\.jar" />
- <lib dir="../../../../contrib/extraction/lib" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-cell-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/extraction/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-cell-\d.*\.jar" />
- <lib dir="../../../../contrib/clustering/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-clustering-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/clustering/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-clustering-\d.*\.jar" />
- <lib dir="../../../../contrib/langid/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-langid-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/langid/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-langid-\d.*\.jar" />
- <lib dir="../../../../contrib/velocity/lib" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-velocity-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/velocity/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-velocity-\d.*\.jar" />
<!-- an exact 'path' can be used instead of a 'dir' to specify a
specific jar file. This will cause a serious error to be logged
Modified: lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/rss/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/rss/conf/solrconfig.xml?rev=1638496&r1=1638495&r2=1638496&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/rss/conf/solrconfig.xml (original)
+++ lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/rss/conf/solrconfig.xml Tue Nov 11 22:41:57 2014
@@ -72,19 +72,19 @@
The examples below can be used to load some solr-contribs along
with their external dependencies.
-->
- <lib dir="../../../../dist/" regex="solr-dataimporthandler-.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-dataimporthandler-.*\.jar" />
- <lib dir="../../../../contrib/extraction/lib" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-cell-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/extraction/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-cell-\d.*\.jar" />
- <lib dir="../../../../contrib/clustering/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-clustering-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/clustering/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-clustering-\d.*\.jar" />
- <lib dir="../../../../contrib/langid/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-langid-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/langid/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-langid-\d.*\.jar" />
- <lib dir="../../../../contrib/velocity/lib" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-velocity-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/velocity/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-velocity-\d.*\.jar" />
<!-- an exact 'path' can be used instead of a 'dir' to specify a
specific jar file. This will cause a serious error to be logged
Modified: lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/solr/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/solr/conf/solrconfig.xml?rev=1638496&r1=1638495&r2=1638496&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/solr/conf/solrconfig.xml (original)
+++ lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/solr/conf/solrconfig.xml Tue Nov 11 22:41:57 2014
@@ -72,19 +72,19 @@
The examples below can be used to load some solr-contribs along
with their external dependencies.
-->
- <lib dir="../../../../dist/" regex="solr-dataimporthandler-.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-dataimporthandler-.*\.jar" />
- <lib dir="../../../../contrib/extraction/lib" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-cell-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/extraction/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-cell-\d.*\.jar" />
- <lib dir="../../../../contrib/clustering/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-clustering-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/clustering/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-clustering-\d.*\.jar" />
- <lib dir="../../../../contrib/langid/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-langid-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/langid/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-langid-\d.*\.jar" />
- <lib dir="../../../../contrib/velocity/lib" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-velocity-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/velocity/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-velocity-\d.*\.jar" />
<!-- an exact 'path' can be used instead of a 'dir' to specify a
specific jar file. This will cause a serious error to be logged
Modified: lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/tika/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/tika/conf/solrconfig.xml?rev=1638496&r1=1638495&r2=1638496&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/tika/conf/solrconfig.xml (original)
+++ lucene/dev/branches/lucene_solr_4_10/solr/example/example-DIH/solr/tika/conf/solrconfig.xml Tue Nov 11 22:41:57 2014
@@ -72,20 +72,20 @@
The examples below can be used to load some solr-contribs along
with their external dependencies.
-->
- <lib dir="../../../../contrib/dataimporthandler/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-dataimporthandler-.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/dataimporthandler/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-dataimporthandler-.*\.jar" />
- <lib dir="../../../../contrib/extraction/lib" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-cell-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/extraction/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-cell-\d.*\.jar" />
- <lib dir="../../../../contrib/clustering/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-clustering-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/clustering/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-clustering-\d.*\.jar" />
- <lib dir="../../../../contrib/langid/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-langid-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/langid/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-langid-\d.*\.jar" />
- <lib dir="../../../../contrib/velocity/lib" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-velocity-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/velocity/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-velocity-\d.*\.jar" />
<!-- an exact 'path' can be used instead of a 'dir' to specify a
specific jar file. This will cause a serious error to be logged
Modified: lucene/dev/branches/lucene_solr_4_10/solr/example/example-schemaless/solr/collection1/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/example/example-schemaless/solr/collection1/conf/solrconfig.xml?rev=1638496&r1=1638495&r2=1638496&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_10/solr/example/example-schemaless/solr/collection1/conf/solrconfig.xml (original)
+++ lucene/dev/branches/lucene_solr_4_10/solr/example/example-schemaless/solr/collection1/conf/solrconfig.xml Tue Nov 11 22:41:57 2014
@@ -72,17 +72,17 @@
The examples below can be used to load some solr-contribs along
with their external dependencies.
-->
- <lib dir="../../../../contrib/extraction/lib" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-cell-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/extraction/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-cell-\d.*\.jar" />
- <lib dir="../../../../contrib/clustering/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-clustering-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/clustering/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-clustering-\d.*\.jar" />
- <lib dir="../../../../contrib/langid/lib/" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-langid-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/langid/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-langid-\d.*\.jar" />
- <lib dir="../../../../contrib/velocity/lib" regex=".*\.jar" />
- <lib dir="../../../../dist/" regex="solr-velocity-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/contrib/velocity/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-velocity-\d.*\.jar" />
<!-- an exact 'path' can be used instead of a 'dir' to specify a
specific jar file. This will cause a serious error to be logged
Modified: lucene/dev/branches/lucene_solr_4_10/solr/example/solr/collection1/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_4_10/solr/example/solr/collection1/conf/solrconfig.xml?rev=1638496&r1=1638495&r2=1638496&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_4_10/solr/example/solr/collection1/conf/solrconfig.xml (original)
+++ lucene/dev/branches/lucene_solr_4_10/solr/example/solr/collection1/conf/solrconfig.xml Tue Nov 11 22:41:57 2014
@@ -72,17 +72,17 @@
The examples below can be used to load some solr-contribs along
with their external dependencies.
-->
- <lib dir="../../../contrib/extraction/lib" regex=".*\.jar" />
- <lib dir="../../../dist/" regex="solr-cell-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../..}/contrib/extraction/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../..}/dist/" regex="solr-cell-\d.*\.jar" />
- <lib dir="../../../contrib/clustering/lib/" regex=".*\.jar" />
- <lib dir="../../../dist/" regex="solr-clustering-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../..}/contrib/clustering/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../..}/dist/" regex="solr-clustering-\d.*\.jar" />
- <lib dir="../../../contrib/langid/lib/" regex=".*\.jar" />
- <lib dir="../../../dist/" regex="solr-langid-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../..}/contrib/langid/lib/" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../..}/dist/" regex="solr-langid-\d.*\.jar" />
- <lib dir="../../../contrib/velocity/lib" regex=".*\.jar" />
- <lib dir="../../../dist/" regex="solr-velocity-\d.*\.jar" />
+ <lib dir="${solr.install.dir:../../..}/contrib/velocity/lib" regex=".*\.jar" />
+ <lib dir="${solr.install.dir:../../..}/dist/" regex="solr-velocity-\d.*\.jar" />
<!-- an exact 'path' can be used instead of a 'dir' to specify a
specific jar file. This will cause a serious error to be logged