|
List Info
Thread: Passing data between 2 created tasks
|
|
| Passing data between 2 created tasks |

|
2007-01-24 09:40:31 |
|
| 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.
|
| Re: Passing data between 2 created tasks |

|
2007-01-24 13:19:20 |
|
On Wed, 24 Jan 2007, Farhdine Boutzakhti
calyon.com> wrote:
> I am creating 2 different tasks with ANT:
>
> A - One extracting some data in a stack from a cache,
>
> B - One inserting these data in a database.
>
> I want to know if there is a way to pass an object (i.e. a stack)
> from A to B?
The easiest way probably uses references. Add your stack as a named
reference to the project instance of task A and retrieve it in B.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
For additional commands, e-mail: dev-help ant.apache.org
|
| Re: Passing data between 2 created tasks |

|
2007-01-25 03:28:19 |
|
On 1/24/07, Stefan Bodewig apache.org> wrote:
> On Wed, 24 Jan 2007, Farhdine Boutzakhti
> calyon.com> wrote:
>
> > I am creating 2 different tasks with ANT:
> >
> > A - One extracting some data in a stack from a cache,
> >
> > B - One inserting these data in a database.
> >
> > I want to know if there is a way to pass an object (i.e. a stack)
> > from A to B?
>
> The easiest way probably uses references. Add your stack as a named
> reference to the project instance of task A and retrieve it in B.
>
Just be careful with classloaders.
i.e. make sure that task A and task B are created with the
same classloader - either by using a propertys/antlib and a
single or by using multiple 's with
the help of loaderref:
i.e:
Peter
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
> For additional commands, e-mail: dev-help ant.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe ant.apache.org
For additional commands, e-mail: dev-help ant.apache.org
|
[1-3]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|