Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45641 invoked from network); 12 Jul 2006 10:22:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2006 10:22:45 -0000 Received: (qmail 82757 invoked by uid 500); 12 Jul 2006 10:22:39 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 82720 invoked by uid 500); 12 Jul 2006 10:22:39 -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 82709 invoked by uid 99); 12 Jul 2006 10:22:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 03:22:39 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 03:22:38 -0700 Received: from z011100.bk.fin.local (z011104.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.13.7/8.13.7) with ESMTP id k6CAMEa6008273 for ; Wed, 12 Jul 2006 12:22:14 +0200 Received: from z011134.bk.fin.local ([130.11.7.134]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.0); Wed, 12 Jul 2006 12:22:15 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: how to conditionally execute a task Date: Wed, 12 Jul 2006 12:22:15 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: how to conditionally execute a task Thread-Index: AcalmqbYQdAd8HBpSaGbQ9RpBd551gAABnFwAAB4t1A= From: To: X-OriginalArrivalTime: 12 Jul 2006 10:22:15.0595 (UTC) FILETIME=[0BF8EFB0:01C6A59D] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Use conditional targets. ... ... linux specific stuff windows specific stuff global stuff Jan >-----Urspr=FCngliche Nachricht----- >Von: R=E9mon van Gijn [mailto:r.van.gijn@portinfolink.com]=20 >Gesendet: Mittwoch, 12. Juli 2006 12:07 >An: Ant Users List; Nagender Malik >Betreff: RE: how to conditionally execute a task > > >In ant you can use the "env" properties, in combination with=20 >the ant-contrib extension that would allow you to create if statements. > >Met vriendelijke groet, >R=E9mon van Gijn > > > >-----Original Message----- >From: Nagender Malik=20 >[mailto:nagender_malik@intersolutions.stpn.soft.net] >Sent: woensdag 12 juli 2006 12:05 >To: Ant Group >Subject: how to conditionally execute a task > >Hi All, > >i want to execute a task conditionally based on operating=20 >system property. how can we do that. > >please suggest.... > >thanks, >Nagender Malik =20 > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 >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