Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 86525 invoked from network); 24 Jan 2007 16:40:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jan 2007 16:40:56 -0000 Received: (qmail 43228 invoked by uid 500); 24 Jan 2007 16:40:56 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 43116 invoked by uid 500); 24 Jan 2007 16:40:55 -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 43105 invoked by uid 99); 24 Jan 2007 16:40:55 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of xavier.hanin@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jan 2007 08:40:54 -0800 Received: by ug-out-1314.google.com with SMTP id m3so205750ugc for ; Wed, 24 Jan 2007 08:39:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=jQ3nlZWcqD01g4ETWXftt4kxYXCg7emDlj9kVU97bafxKV23b9pYfdze9aQN6E8ZRYXOos/DjTDkAizYBrxXa2UDWU4N44du2XCk2LqHMLatgK+tIrdf70k5l34ExQnBO9UyzojXhUMUrOsCt/cyZRC1MpiqnolgoyCoKDLJSmU= Received: by 10.66.255.7 with SMTP id c7mr1289899ugi.1169656767159; Wed, 24 Jan 2007 08:39:27 -0800 (PST) Received: by 10.67.100.5 with HTTP; Wed, 24 Jan 2007 08:39:26 -0800 (PST) Message-ID: <635a05060701240839h7631a795jddf961af2e511257@mail.gmail.com> Date: Wed, 24 Jan 2007 17:39:26 +0100 From: "Xavier Hanin" To: "Ant Users List" Subject: Re: Passing data between 2 created tasks In-Reply-To: <5A5A4179B361DF4991B0B2BDA557BB548E16B8@MXCU02MX1.MSX.CIB> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8496_12812071.1169656766735" References: <5A5A4179B361DF4991B0B2BDA557BB548E16B8@MXCU02MX1.MSX.CIB> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_8496_12812071.1169656766735 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 1/24/07, Farhdine Boutzakhti wrote: > > Ok, thank you. I will test Project.setReference. As Jan indicate, it's addReference and not setReference, but you got the idea :-) Xavier -----Original Message----- > From: Xavier Hanin [mailto:xavier.hanin@gmail.com] > Sent: Wednesday, January 24, 2007 4:54 PM > To: Ant Users List > Subject: Re: Passing data between 2 created tasks > > I use Project.setReference for this purpose and it works pretty well. > However, this is not something usual in regular ant tasks, so I'd > recommend > to let the user specify the name of the reference used to store the data > if > she wants (using an attribute with a default value), so that the user > can > safely call your tasks multiple times. > > Xavier > > > > Ce message et ses pi=E8ces jointes (le "message") est destin=E9 =E0 l'usa= ge > exclusif de son destinataire. > Si vous recevez ce message par erreur, merci d'en aviser imm=E9diatement > l'exp=E9diteur et de le d=E9truire ensuite. Le pr=E9sent message pouvan= t > =EAtre alt=E9r=E9 =E0 notre insu, CALYON Corporate and Investment Bank > ne peut pas =EAtre engag=E9 par son contenu. Tous droits r=E9serv=E9s. > > This message and/or any attachments (the "message") is intended for > the sole use of its addressee. > If you are not the addressee, please immediately notify the sender and > then destroy the message. As this message and/or any attachments may > have been altered without our knowledge, its content is not legally > binding on CALYON Corporate and Investment Bank. All rights reserved. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > ------=_Part_8496_12812071.1169656766735--