Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 40714 invoked by uid 500); 13 Aug 2003 07:59:15 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 40699 invoked from network); 13 Aug 2003 07:59:15 -0000 Received: from m007300.maaf.fr (195.6.162.2) by daedalus.apache.org with SMTP; 13 Aug 2003 07:59:15 -0000 Received: from M007600 (unverified) by M007300.maaf.Fr (Content Technologies SMTPRS 4.3.1) with SMTP id for ; Wed, 13 Aug 2003 09:33:44 +0200 Received: from 10.231.223.237 by M007600 (InterScan E-Mail VirusWall NT); Wed, 13 Aug 2003 09:48:12 +0200 Received: from M909220 ([10.230.72.48]) by mailix.resmaaf.fr (Lotus Domino Release 5.0.11) with ESMTP id 2003081309550335:1167 ; Wed, 13 Aug 2003 09:55:03 +0200 From: "Emmanuel FELLER" To: "'Ant Developers List'" Subject: RE : Recursive properties resolution ? Date: Wed, 13 Aug 2003 09:59:18 +0200 Message-ID: <001501c36170$cc077ca0$3048e60a@maafprod.ecorail.com> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <3F391792.6010507@iseran.com> Importance: Normal X-MIMETrack: Itemize by SMTP Server on M001600/MAAF(Release 5.0.11 |July 24, 2002) at 08/13/2003 09:55:03 AM, Serialize by Router on M007700/MAAF(Release 5.0.11 |July 24, 2002) at 13/08/2003 09:59:19, Serialize complete at 13/08/2003 09:59:19 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >-----Message d'origine----- >De : Steve Loughran [mailto:steve_l@iseran.com]=20 >Envoy=E9 : mardi 12 ao=FBt 2003 18:37 >=C0 : Ant Developers List >Objet : Re: Recursive properties resolution ? [snip/] >> So if i keep multiple file (one per project/env couple), i=20 >have multiple >> and cross redundancy. And i have no way to define the env properties, >> after the project properties and after project/env properties as they >> are mixed and cross defined. (i tried without succes). >>=20 >> In this case I do not see what I can do to solve this=20 >without recursive >> properties resolution. > >-have multiple properties files...one per deployment target, one per=20 >project, one per local installation. > >-use property expansion to decide which properties files to load > >e.g. a system would have > >system.properties: >deploy.target=3Dchamonix > >chamonix:properties >deploy.platform=3Djboss >deploy.process=3Dftp > [snip/] > > > > > //loads chamonix.properties > >//then app server specific stuff > > [snip/] > >This gives you: dynamic configuration, and property file control. One=20 >propfile/build file per app server platform, one per system with sys=20 >config details, one per user with user options. > Hi Steve, Thanks for your response. I tried your way yesterday evening but now I have 18 properties files (16 with business and build properties and 2 for the paths to the properties file). Some of them have 50-60 properties defined, and all others have only 3 or 4. Is that better than having recursive resolution ? That's why I asked my question : what is the limit betwenn several properties to maintain and the recurive resolution concern ? In our mind (my boss and me), we won't be able to maintain this lot of properties files. (Because now we should store them into a SCM and control the dependancies and the coherence betwenn all properties file for a build as we could have multiple build in the same hour with "naturely" change of properties). So we will develope a recursive resolution task, it solve the potential issue on multiple properties files management. I will contribute this if your are interested. Emmanuel --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org