Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@locus.apache.org Received: (qmail 17637 invoked from network); 8 Dec 2006 14:20:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2006 14:20:44 -0000 Received: (qmail 46433 invoked by uid 500); 8 Dec 2006 14:20:52 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 46410 invoked by uid 500); 8 Dec 2006 14:20:52 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 46401 invoked by uid 99); 8 Dec 2006 14:20:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 06:20:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [87.106.15.5] (HELO mail.mindquarry.com) (87.106.15.5) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 06:20:38 -0800 Received: from [172.16.5.128] (unknown [217.244.9.5]) by mail.mindquarry.com (Postfix) with ESMTP id 1A77579C4BE for ; Fri, 8 Dec 2006 14:20:17 +0000 (GMT) Message-ID: <4579749F.3070003@mindquarry.com> Date: Fri, 08 Dec 2006 15:20:15 +0100 From: Alexander Saar Organization: Mindqarry GmbH User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: solr-dev@lucene.apache.org Subject: System Properties for Configuration Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I patched org.apache.solr.core.Config in order to allow references to system properties within the Solr config file (like {$prop.name}). I think is will be helpful when somebody downloads Solr as a WAR archive and just want to put it into a servelt container without extracting it and changing the config file by hand. If anybody else wants to have this, I'll supply the according patch to the JIRA. Regars, Alex -- Alexander Saar Mindquarry - achieving more together (http://www.mindquarry.com) E-Mail: alexander.saar@mindquarry.com | Mindquarry GmbH Work: +49 331 97992 223 | August-Bebel-Str. 88 Mobile: +49 177 59 85 437 | 14482 Potsdam, Germany Weblog: http://alexsaar.blogspot.com/ OpenBC Profile: http://www.openbc.com/hp/Alexander_Saar/