Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 211CE439A for ; Wed, 11 May 2011 19:21:43 +0000 (UTC) Received: (qmail 13190 invoked by uid 500); 11 May 2011 19:21:39 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 13125 invoked by uid 500); 11 May 2011 19:21: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 13116 invoked by uid 99); 11 May 2011 19:21:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 19:21:39 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yongqxu@hotmail.com designates 65.54.61.92 as permitted sender) Received: from [65.54.61.92] (HELO snt0-omc2-s41.snt0.hotmail.com) (65.54.61.92) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 19:21:33 +0000 Received: from SNT125-W60 ([65.55.90.72]) by snt0-omc2-s41.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 11 May 2011 12:21:13 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_556c2eab-5d0a-452a-b773-454a378e9654_" X-Originating-IP: [148.87.19.206] From: Yongqin Xu To: users tomcat Subject: RE: tomcat 7: common.loader property in catalina.properties does not take ANT style variable Date: Wed, 11 May 2011 13:21:10 -0600 Importance: Normal In-Reply-To: <4DCA96CC.90603@christopherschultz.net> References: <4DC9A091.40908@christopherschultz.net> ,<4DCA96CC.90603@christopherschultz.net> MIME-Version: 1.0 X-OriginalArrivalTime: 11 May 2011 19:21:13.0096 (UTC) FILETIME=[974F0080:01CC1010] --_556c2eab-5d0a-452a-b773-454a378e9654_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I would love to see that happen. thanks. > Date: Wed=2C 11 May 2011 10:01:48 -0400 > From: chris@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: tomcat 7: common.loader property in catalina.properties does= not take ANT style variable >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Konstantin=2C >=20 > On 5/10/2011 4:50 PM=2C Konstantin Kolinko wrote: > > 2011/5/11 Christopher Schultz : > >> On 5/10/2011 3:05 AM=2C Konstantin Kolinko wrote: > >>> IIRC=2C catalina.properties file does not support substitution for > >>> anything=2C besides those two specific properties=2C "catalina.home" = and > >>> "catalina.base". > >> > >> The documentation suggests otherwise: > >> > >> http://tomcat.apache.org/tomcat-7.0-doc/config/index.html > >> > >> " > >> Tomcat configuration files are formatted as schemaless XML=3B elements= (...) > >=20 > > The said file is not an XML one. The above quote is not applicable. >=20 > Upon second reading of that passage=2C you're right: though > catalina.properties is mentioned=2C it's (somewhat) clear than it can be > used to /define/ properties=2C but does not enjoy the > system-property-replacements used in those other files. >=20 > It makes sense=2C given that otherwise there would be a terrible circular > logic problem when reading catalina.properties. I suppose=2C eventually= =2C > you'd either evaluate all system properties or detect a loop and could > bail-out. >=20 > If this seems like something the community would like=2C I wouldn't mind > writing a patch to allow this type of thing. >=20 > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >=20 > iEYEARECAAYFAk3KlswACgkQ9CaO5/Lv0PCt6gCfcVCUB9mqcPe61sWY+MQAVzUy > sXUAoK8WOU4w9R7lu8+FE0jaJw/sbkC0 > =3DQET0 > -----END PGP SIGNATURE----- >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: users-unsubscribe@tomcat.apache.org > For additional commands=2C e-mail: users-help@tomcat.apache.org >=20 = --_556c2eab-5d0a-452a-b773-454a378e9654_--