Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 19740 invoked from network); 16 Dec 2009 05:01:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Dec 2009 05:01:46 -0000 Received: (qmail 78015 invoked by uid 500); 16 Dec 2009 05:01:42 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 77879 invoked by uid 500); 16 Dec 2009 05:01:39 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 77868 invoked by uid 99); 16 Dec 2009 05:01:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2009 05:01:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jak-tomcat-user@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2009 05:01:29 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NKm0a-0006kB-G2 for users@tomcat.apache.org; Wed, 16 Dec 2009 06:01:08 +0100 Received: from pool-71-107-252-240.lsanca.dsl-w.verizon.net ([71.107.252.240]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Dec 2009 06:01:08 +0100 Received: from billwbarker by pool-71-107-252-240.lsanca.dsl-w.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Dec 2009 06:01:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@tomcat.apache.org From: "Bill Barker" Subject: Re: 'Parametrizing' context.xml? Date: Tue, 15 Dec 2009 21:01:42 -0800 Lines: 33 Message-ID: References: <4B266622.5060806@megafon.hr> <4B27994E.5080808@megafon.hr> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-107-252-240.lsanca.dsl-w.verizon.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-RFC2646: Format=Flowed; Original Sender: news X-Virus-Checked: Checked by ClamAV on apache.org "Mario Splivalo" wrote in message news:4B27994E.5080808@megafon.hr... > Bill Barker wrote: >> "Mario Splivalo" wrote in message >> news:4B266622.5060806@megafon.hr... >> >> Tomcat also supports ant-style variable replacement, so using that then >> Ken's example would look like: >> >> baseprefix >> ${BPVAL} >> >> >> where BPVAL is a Java system property (that can be set in >> catalina.properties for example). > > And, those can be used also in apps context.xml? > Yes, this should work in context.xml (and even server.xml). >> Of course, this only works for Tomcat. Ken's suggestion will work on any >> servlet container. > > Yes, in the long run I'll stick to those, but since we're only using > Tomcat for now it would be much easier not to fiddle with ant. > > Thank you all! > > Mike --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org