Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 36394 invoked from network); 24 May 2004 18:10:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 May 2004 18:10:57 -0000 Received: (qmail 51788 invoked by uid 500); 24 May 2004 15:39:08 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 45006 invoked by uid 500); 24 May 2004 15:37:14 -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 34056 invoked by uid 98); 24 May 2004 15:34:30 -0000 Received: from gudnabrsam@yahoo.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(66.163.169.89):. Processed in 0.322516 secs); 24 May 2004 15:34:30 -0000 X-Qmail-Scanner-Mail-From: gudnabrsam@yahoo.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(66.163.169.89):. Processed in 0.322516 secs) Received: from unknown (HELO web20413.mail.yahoo.com) (66.163.169.89) by hermes.apache.org with SMTP; 24 May 2004 15:34:29 -0000 Message-ID: <20040524153421.61518.qmail@web20413.mail.yahoo.com> Received: from [65.247.233.160] by web20401.mail.yahoo.com via HTTP; Mon, 24 May 2004 08:34:21 PDT Date: Mon, 24 May 2004 08:34:21 -0700 (PDT) From: Matt Benson Subject: RE: How to create paths that depend on a condition? To: Ant Users List In-Reply-To: <082101c440bf$a9e5d700$2502a8c0@vma> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Another approach is to use pure Ant target dependencies and conditional execution with references: If that makes any sense... -Matt --- Vincent Massol wrote: > Yes, I've tried. But I don't see how it helps. They > have to be defined > inside fileset. They don't make sense inside direst. > What I'm trying to > do is build a path that depends on conditions. > > Anyway, thanks for the idea! :-) > -Vincent > > > -----Original Message----- > > From: Hagen, Christian [mailto:chagen@init-ka.de] > > Sent: 23 May 2004 13:10 > > To: Ant Users List > > Subject: AW: How to create paths that depend on a > condition? > > > > Hi, > > > > have you tried using s? They support > if/unless attributes > for > > / elements. > > > > Greetings > > Chris > > > > > > > -----Urspr�ngliche Nachricht----- > > > Von: Vincent Massol > [mailto:vmassol2@pivolis.com] > > > Gesendet: Samstag, 22. Mai 2004 10:41 > > > An: user@ant.apache.org > > > Betreff: How to create paths that depend on a > condition? > > > > > > Hi, > > > > > > I'd like to create a that depends on some > property > > > being defined or not. This is for putting inside > the > > > task. I cannot find the right combination. > Here's what I'd like to > do: > > > > > > > > > > > > location="${src.test.dir}/share-12-13-14"/> > > > ---> start here > > > dir="${src.test.dir}/share-13-14"> > > > > > > > > > > > > > > > > > > > > > > > > > > > ---> stop here > > > > > > [...] > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > > For additional commands, e-mail: > user-help@ant.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > __________________________________ Do you Yahoo!? Yahoo! Domains � Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org