Erik Hatcher created SOLR-3550:
----------------------------------

             Summary: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to