Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 39206 invoked from network); 15 Aug 2002 19:46:36 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 15 Aug 2002 19:46:36 -0000 Received: (qmail 25707 invoked by uid 97); 15 Aug 2002 19:46:55 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 25676 invoked by uid 97); 15 Aug 2002 19:46:54 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 25664 invoked by uid 98); 15 Aug 2002 19:46:54 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <017101c24494$bbb95890$1219570f@ranier> From: "Steve Loughran" To: "Ant Users List" References: <1029433706.3d5be96ac83b2@mail.spamcop.net> Subject: Re: nested properties anyone? Date: Thu, 15 Aug 2002 12:48:28 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-MailScanner: Found to be clean X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: To: "Ant Users List" Sent: Thursday, August 15, 2002 10:48 AM Subject: Re: nested properties anyone? > Quoting Steve Loughran : > > > 2. What is a work around? > > > > -save all your per system settings in a properties file > > -pick the file name from a property > > We have more than 20 possible servers. I think it is much uglier to have 20+ one > line files than a single file with 20 entries. But thank you for a suggestion. Once you have >1 property per server, the separate file approach is pretty clean. imagine have a per server file containing: -options for controlling web.xml items -flags as to which version of servlet api you use -name of j2ee server -information used for an automated deployment (ftp host, user, password, directory) This stuff works very well with separate property files, not least because sensitive deployment systems dont need to have their config kept under SCM, you just keep it in a well protected file on one or two systems that operations run, not development. -steve -- To unsubscribe, e-mail: For additional commands, e-mail: