Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 21258 invoked from network); 23 May 2006 11:29:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2006 11:29:06 -0000 Received: (qmail 24056 invoked by uid 500); 23 May 2006 11:28:57 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 24013 invoked by uid 500); 23 May 2006 11:28:57 -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 23998 invoked by uid 99); 23 May 2006 11:28:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2006 04:28:56 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=DNS_FROM_RFC_BOGUSMX X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.152.87.202] (HELO mail.protei.ru) (62.152.87.202) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2006 04:28:55 -0700 Received: from lab111.protei (lab111 [10.0.0.2]) by mail.protei.ru (Postfix) with ESMTP id 487D8706C10; Tue, 23 May 2006 15:28:34 +0400 (MSD) Received: by lab111.protei (Postfix, from userid 99) id 30C269C017EB; Tue, 23 May 2006 15:28:34 +0400 (MSD) Received: from pustovalov (pustovalov.protei [192.168.100.165]) by lab111.protei (Postfix) with ESMTP id 9750B9C014E4; Tue, 23 May 2006 15:28:33 +0400 (MSD) From: "Michael Pustovalov " To: "'Ant Users List'" , Subject: RE: AW: How to set properties when property is set Date: Tue, 23 May 2006 15:28:41 +0400 Organization: RDC Protei MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcZ+Wgv+sfhz+ZWqQNKMFdkCh1gp3QAADbuA In-Reply-To: <4472EE70.4080706@mindspring.com> Message-Id: <20060523112833.9750B9C014E4@lab111.protei> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Another solution is try to save properties into *.properties or *.xml = file(s) - and load that file(s) with or tasks (this is = ant core tasks). Main problem is to load right file(s).=20 That can be do in two ways : 0. the simplest solution is use task from ant-contrib package, = like this : =20 =09 1. second way (if you don=A1=AFt like external stuff) may be look like = this : =20 .... .... .... P.S. sorry for my poor english :) ----=3D=3D=3D=3D[]=3D=3D=3D=3D---- =A7=B3 =A7=E5=A7=D3=A7=D1=A7=D8=A7=D6=A7=DF=A7=DA=A7=D6=A7=DE, = =A7=B1=A7=E5=A7=E3=A7=E4=A7=E0=A7=D3=A7=D1=A7=DD=A7=E0=A7=D3 = =A7=AE=A7=DA=A7=E7=A7=D1=A7=DA=A7=DD [mailto:pustovalov@protei.ru] RDC Protei -----Original Message----- From: Scot P. Floess [mailto:floess@mindspring.com]=20 Sent: Tuesday, May 23, 2006 3:14 PM To: Ant Users List Subject: Re: AW: How to set properties when property is set The only problem is he stated setting multiple properties...not a single = one.... Of course, I just chuckled to myself as I had forgotten the else=20 attribute on condition... Jan.Materne@rzf.fin-nrw.de wrote: > > > =20 > > > > Jan > > =20 >> -----Urspr=A8=B9ngliche Nachricht----- >> Von: Mikael Petterson (KI/EAB) [mailto:mikael.petterson@ericsson.com] = >> Gesendet: Dienstag, 23. Mai 2006 12:23 >> An: Ant Users List >> Betreff: How to set properties when property is set >> >> Hi, >> >> I have a property that checks if a certain directory exists.=20 >> If that property, gen.dir.present, is true then I need to set=20 >> a bunch of properties. If false I set them to other values. Is=20 >> there a Smooth way to do this. >> >> > value=3D"/vobs/rbs/sw/rbssw_boam/boam_subsys/boam_swb/boammao_swu >> /src/ifac >> e/gen"/> >> =20 >> > ${gen.dir.present}"/> >> >> Cheers, >> >> //mikael >> >> >> >> =20 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > =20 --=20 Scot P. Floess 27 Lake Royale Louisburg, NC 27549 252-478-8087 (Home) 919-754-4592 (Work) Chief Architect JPlate http://sourceforge.net/projects/jplate Chief Architect JavaPIM http://sourceforge.net/projects/javapim --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org