ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: Passing data between 2 created tasks
Date Wed, 24 Jan 2007 16:39:26 GMT
On 1/24/07, Farhdine Boutzakhti <farhdine.boutzakhti@calyon.com> 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èces jointes (le "message") est destiné à l'usage
> exclusif de son destinataire.
> Si vous recevez ce message par erreur, merci d'en aviser immédiatement
> l'expéditeur  et de le détruire ensuite. Le présent message  pouvant
> être altéré à notre insu,  CALYON Corporate and Investment Bank
> ne peut pas être engagé par son contenu. Tous droits réservés.
>
> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message