On Tue, Mar 24, 2009 at 4:16 PM, Kraus, Ralf | pixelhouse GmbH < r...@pixelhouse.de> wrote:
> Hi, > >> question ;-) >> >> <!DOCTYPE config SYSTEM "http://java.sun.com/dtd/web-app_2_3.dtd"; [ >> >> <!ENTITY default_solrconfig SYSTEM >> "/var/lib/tomcat5.5/webapps/solr/default_solrconfig.xml"> >> >> ]> >> >> Is there a chance to set the "home directory" using a variable ? For >> example an unix enviroment variable ? >> >> Greets -Ralf- >> > No chance ? > One can use system variables in solrconfig.xml through the ${var-name} syntax but that is expanded only for DOM elements. It may not work for the entity includes though I haven't tried. -- Regards, Shalin Shekhar Mangar.