Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 90634 invoked by uid 500); 7 Aug 2003 10:09:48 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 90621 invoked from network); 7 Aug 2003 10:09:47 -0000 Received: from unknown (HELO M007300.maaf.Fr) (195.6.162.2) by daedalus.apache.org with SMTP; 7 Aug 2003 10:09:47 -0000 Received: from M007600 (unverified) by M007300.maaf.Fr (Content Technologies SMTPRS 4.3.1) with SMTP id for ; Thu, 7 Aug 2003 11:44:33 +0200 Received: from 10.231.223.237 by M007600 (InterScan E-Mail VirusWall NT); Thu, 07 Aug 2003 11:58:52 +0200 Received: from M909220 ([10.230.72.48]) by mailix.resmaaf.fr (Lotus Domino Release 5.0.11) with ESMTP id 2003080712054245:2829 ; Thu, 7 Aug 2003 12:05:42 +0200 From: "Emmanuel FELLER" To: "'Ant Users List'" Subject: RE : more than one unless/if in a target Date: Thu, 7 Aug 2003 12:09:51 +0200 Message-ID: <000601c35ccc$0a961e80$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: Importance: Normal X-MIMETrack: Itemize by SMTP Server on M001600/MAAF(Release 5.0.11 |July 24, 2002) at 08/07/2003 12:05:42 PM, Serialize by Router on M007700/MAAF(Release 5.0.11 |July 24, 2002) at 07/08/2003 12:09:53, Serialize complete at 07/08/2003 12:09:53 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 : Stefan Bodewig [mailto:bodewig@apache.org]=20 >Envoy=E9 : jeudi 7 ao=FBt 2003 11:36 >=C0 : user@ant.apache.org >Objet : Re: more than one unless/if in a target > > >On Wed, 06 Aug 2003, Mike Castle wrote: > >> Yeah, one of the many inconsistencies in ant. >>=20 >> >> > >would unless=3D"a,b" mean "a or b" or "a and b" would it be the same >boolean operator for if=3D"a,b"? > >just one of the reasons that the inconsistency exists. > >Stefan > I think it should be an "and" operator as it is for the depends list. In this way the target is executed after "can AND have AND comma" targets so it should be executed only if "(a AND b) are not set". But unless and if should be used at a same time to compose logic expression : Unless=3D"a,b" if=3D"c,d" : (a and b are not set) and (c and d are set). Emmanuel --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org