gt; }
>>> }
>>>
>>> TaskB {
>>> public execute() {
>>> Stack stack =
>>(Stack)getProject().getReference(TaskA.STACKNAME);
>>> ...
>>> }
>>> }
>>>
>>>
>>>
>>
ta object, your 2nd task could read that
serialized data.
Jan
>-Ursprüngliche Nachricht-
>Von: Brian Agnew [mailto:[EMAIL PROTECTED]
>Gesendet: Samstag, 28. April 2007 13:29
>An: Ant Users List
>Betreff: Re: AW: Passing data between 2 created tasks
>
>A quick exp
ence(TaskA.STACKNAME);
...
}
}
Jan
Von: Farhdine Boutzakhti [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 24. Januar 2007 16:41
An: [EMAIL PROTECTED]; user@ant.apache.org
Betreff: Passing data bet
: 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 r
Yeah it works. Thank you very much :)
Farhdine.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 24, 2007 4:55 PM
To: user@ant.apache.org
Subject: AW: Passing data between 2 created tasks
Store your Stack as reference on the project
TaskA
Ok, thank you. I will test Project.setReference.
-Original Message-
From: Xavier Hanin [mailto:[EMAIL PROTECTED]
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
On 1/24/07, Farhdine Boutzakhti <[EMAIL PROTECTED]> wrote:
Hi list,
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?
ssing data between 2 created tasks
Hi list,
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
Hi list,
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?
Thanks !
Farhdine.
Ce message et ses pièces jointes (le