Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 35186 invoked from network); 23 Jan 2007 12:15:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2007 12:15:15 -0000 Received: (qmail 22234 invoked by uid 500); 23 Jan 2007 12:15:17 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 21991 invoked by uid 500); 23 Jan 2007 12:15:16 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 21980 invoked by uid 99); 23 Jan 2007 12:15:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 04:15:16 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jwcarman@gmail.com designates 64.233.182.186 as permitted sender) Received: from [64.233.182.186] (HELO nf-out-0910.google.com) (64.233.182.186) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 04:15:08 -0800 Received: by nf-out-0910.google.com with SMTP id l36so212819nfa for ; Tue, 23 Jan 2007 04:14:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=BNseRE0VKkA08yXO6TVkFOJiwATbAqaRlRO9/FbyEhSVvy5Uh2Tk4JDfiubJxoNqAUIogN/RLFgXFSooS+foFW2BxiOAwF0KbaYJjudkczvBCoqKPBM/4Xy1uRLOWHlj4WfDwuTzKJKCz9Unh7bcCy5EoNM49vXRd9/KKqNilak= Received: by 10.49.19.18 with SMTP id w18mr953050nfi.1169554486439; Tue, 23 Jan 2007 04:14:46 -0800 (PST) Received: by 10.49.65.20 with HTTP; Tue, 23 Jan 2007 04:14:46 -0800 (PST) Message-ID: Date: Tue, 23 Jan 2007 07:14:46 -0500 From: "James Carman" Sender: jwcarman@gmail.com To: "Jakarta Commons Users List" Subject: Re: [configure] - context.xml vs Tomcat Admin In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45B4A4FE.7000705@gdcjk.com> <45B4DB0F.5070409@gdcjk.com> X-Google-Sender-Auth: 70c0d5ef65c4c486 X-Virus-Checked: Checked by ClamAV on apache.org The paranoid point of view can be a good thing. So far, though, it has worked for us. We just have different "flavors" of our build.properties file for each of our environments. On 1/22/07, Craig McClanahan wrote: > On 1/22/07, James Carman wrote: > > > > "Using the server admin lets you take the same web application > > and deploy it *unmodified* in different environments where you really > > want to connect to different services (such as a testing server, a > > staging server, and a production server)." > > > > If you make your build system smart enough, you can have it generate > > your context.xml file with the correct settings (Velocity comes in > > handy here) depending upon your targeted environment (test vs. prod). > > I usually do this using a build.properties file in Ant. In order to > > change your targeted environment, all you have to do is change the > > build.properties file and that's it. > > > Sure, you can do a lot more work in your build script if you want to :-). > > But, I have also seen lots of big shops that are totally allergic to testing > one version of an app but then needing to build it again before deployment. > They want to be sure the bits they test are *exactly* the bits that are > actually deployed. For this scenario, having an ability to configure > resources externally is extremely valuable. > > Come to think of it, this is very similar to the attitude we have in Apache > projects, where a proposed release needs to have the actual bits we are > voting on (versus a promise to build from a particular SVN tag or revision > number later on). > > Craig > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org