Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 88324 invoked from network); 19 Aug 2010 16:59:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Aug 2010 16:59:54 -0000 Received: (qmail 76739 invoked by uid 500); 19 Aug 2010 16:59:53 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 76691 invoked by uid 500); 19 Aug 2010 16:59:52 -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 76683 invoked by uid 99); 19 Aug 2010 16:59:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Aug 2010 16:59:52 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.190.38.173] (HELO web51307.mail.re2.yahoo.com) (206.190.38.173) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 19 Aug 2010 16:59:46 +0000 Received: (qmail 17786 invoked by uid 60001); 19 Aug 2010 16:59:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1282237165; bh=X/ru1mTVRmPa5UeMluZ0vAxc91liMsN291VYxo0ZNuA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=in51gZ1/DlpOlTGkwxr+3h3/6PaAE1dvF/eHF18wqHsD635pHPqULEnkPViQWN55A2du3LENVm78qLFOnOMA+wAZLfqVDUoGponfHtFR78OlYB7jO+1+uWuYOQwnIbvTfHlkVAYSgV0hmg9Ez+pLjqXoofOSNfbvM06TGzX9R9k= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=c04/0UcT2liDFFKlTNahOnUo2HofQUb+FtypEyMLWdSDLNGBWKQ+0YsIWpjnAtdAZQbpEsKSIAluPBtxFnj804LgMYy9I3hid+C6w2o5rDlbNsD1iV+5MPVcYyYk+i/dLI696JxZteD7DkJuwwaTbj9EaGPeFIf/PoZiRQf458U=; Message-ID: <296414.15814.qm@web51307.mail.re2.yahoo.com> X-YMail-OSG: ztl3zukVM1lorhtVB0zmj1MoOhWcw.tBMMhk2pRqaZdQVJ9 DBGJA3vBZmKCuNIExpH6ba.LCIdBQE.syoI5UEZKq_S9iLPrchy.oPOzveEt Q33tLsFHIWvhUGWyZv9FYwNZsbP0.vA3Z5BsWE1cN1FiBs9jbe7.kF576DJ0 vj8YfU3fmChQlmdsH6N5.FM0nmi0rXVxqaQ8PfIVpBwd_APDhzHi1SSNo4nr cYJ9uOajFWyhKDhYk3a4_eS2D5voVREBdwP_t_BUlWn_7X1EEawA1sx32NFz Txqutzaqir_UBFRv.jitbkL.i1O6VwlOajJWHbJWh0lmAQA-- Received: from [63.251.6.89] by web51307.mail.re2.yahoo.com via HTTP; Thu, 19 Aug 2010 09:59:25 PDT X-Mailer: YahooMailClassic/11.3.2 YahooMailWebService/0.8.105.279950 Date: Thu, 19 Aug 2010 09:59:25 -0700 (PDT) From: Vimil Saju Subject: Re: AW: Conditional target problem To: Ant Users List In-Reply-To: <06080D44730F41428BAF2168FA8BDD8004C8DBB4@icsrv02.icongmbh.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1816305784-1282237165=:15814" --0-1816305784-1282237165=:15814 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I read about the new macrodef task which can be used create a custom compos= ite task by combining other tasks together. Using the macrodef task instead= of antcall cant we overcome the performance overhead and the property visi= bility issues with antcall? --- On Thu, 8/19/10, Knuplesch, Juergen wro= te: From: Knuplesch, Juergen Subject: AW: Conditional target problem To: "Ant Users List" Date: Thursday, August 19, 2010, 8:03 AM Antcallback gives back some props you define -----Urspr=FCngliche Nachricht----- Von: Niklas Matthies [mailto:ml_ant-user@nmhq.net]=20 Gesendet: Mittwoch, 18. August 2010 15:55 An: Ant Users List Betreff: Re: Conditional target problem On Tue 2010-08-17 at 16:20h, Vimil Saju wrote on user: > I know ant is supposed to be declarative language as opposed to a > procedural one, but whats wrong with using the 'if' task provided > with ant-contrib along with "ant-call" task? AntCall effectively creates a new Ant instance. Properties and references set within the call won't be visible after the call returns, and targets executed before the call might be executed again within the call. It's very different from having a target as a dependency. Replacing one with the other has all sorts of ramifications. -- Niklas Matthies --------------------------------------------------------------------- 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 =0A=0A=0A --0-1816305784-1282237165=:15814--