Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 37613 invoked from network); 26 Feb 2007 15:09:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2007 15:09:33 -0000 Received: (qmail 60373 invoked by uid 500); 26 Feb 2007 15:09:37 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 60337 invoked by uid 500); 26 Feb 2007 15:09:37 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 60326 invoked by uid 99); 26 Feb 2007 15:09:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Feb 2007 07:09:37 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ewood@llbean.com designates 216.151.52.51 as permitted sender) Received: from [216.151.52.51] (HELO vmlinux2.llbean.com) (216.151.52.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Feb 2007 07:09:25 -0800 Received: from ct4.llbean.com (ironmail4.llbean.com [172.21.250.248]) by vmlinux2.llbean.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id l1QF8ha05907 for ; Mon, 26 Feb 2007 10:08:43 -0500 Received: from ([10.10.34.82]) by ct4.llbean.com with ESMTP id 5202155.5426511; Mon, 26 Feb 2007 10:08:36 -0500 Received: from FPT-EXMB02.llbean.com ([172.21.250.52]) by FPT-EXFE02.llbean.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 26 Feb 2007 10:08:36 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C759B7.FCE0AD89" Subject: How to best create environment specific properties in an applications property file using ANT Date: Mon, 26 Feb 2007 10:08:35 -0500 Message-ID: <54BC0922445A764A86074C5A6B00535402634BD3@FPT-EXMB02.llbean.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to best create environment specific properties in an applications property file using ANT Thread-Index: AcdZt/yBYknf0ZxxRZ6AEJhXHDojIg== From: "Eric Wood" To: "Ant Users List" X-OriginalArrivalTime: 26 Feb 2007 15:08:36.0144 (UTC) FILETIME=[FCF96B00:01C759B7] X-esp: ESP<20>= RBL:<0> RDNS:<0> SHA:<4> UHA:<0> SLS:<0> BAYES:<0> SenderID:<0> NigeriaScam Dictionary (TRU7a): <0> Embed HTML Dictionary (TRU7a): <0> URL Dictionary (TRU7a): <0> HTML Dictionary (TRU7a): <16> Obscenities Dictionary (TRU7a): <0> Porn Dictionary (TRU7a): <0> Spam Dictionary (TRU7a): <0> CAN-SPAM Compliance Dictionary (TRU7a): <0> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C759B7.FCE0AD89 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Folks: I'm looking at how to best create different copies of an application property file using ANT. I have a property file that contains two sections: one section with environment specific settings that will vary as it is deployed across test, QA, and production servers and one section that is constant. Currently, it is versioned in our source code repository so it works in the development environment; this way developers can work with it directly in their environment without having to change it. When I build their application using ANT I would like to generate different versions of the file for environment that I save save for later deployment. I was looking at using filterreaders but they are not really setup to substitute a block of properties located in the middle of the file. Any thoughts on how I can best do this task? Eric ------_=_NextPart_001_01C759B7.FCE0AD89--