You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2012/06/15 20:55:43 UTC
[jira] [Comment Edited] (SOLR-3550) Improve library loading with
base path
[ https://issues.apache.org/jira/browse/SOLR-3550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295849#comment-13295849 ]
Erik Hatcher edited comment on SOLR-3550 at 6/15/12 6:54 PM:
-------------------------------------------------------------
The commits of TextField listed here is erroneous, meant for another JIRA issue.
was (Author: ehatcher):
The commit of TextField listed here is erroneous, meant for another JIRA issue.
> Improve library loading with base path
> --------------------------------------
>
> Key: SOLR-3550
> URL: https://issues.apache.org/jira/browse/SOLR-3550
> Project: Solr
> Issue Type: Improvement
> Reporter: Erik Hatcher
> Fix For: 4.0
>
>
> The issue occurs when users copy Solr's example "solr home" directory somewhere else, not relative to Solr's installation and paths break. Paths like these:
> {code}
> <lib dir="../../dist/" regex="apache-solr-cell-\d.*\.jar" />
> <lib dir="../../contrib/extraction/lib" regex=".*\.jar" />
> {code}
> I've addressed this in my own projects by introducing a new system property construct like dir="${solr.install.dir}/contrib/extractin/lib". But this requires a change to solrconfig.xml for every <lib> element. There's got to be a better way such that Solr can be installed in one place, and <lib> directives can readily access the Solr "installation" directory path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org