Re: AW: AW: Passing data between 2 created tasks

2007-04-30 Thread Brian Agnew
gt; } >>> } >>> >>> TaskB { >>> public execute() { >>> Stack stack = >>(Stack)getProject().getReference(TaskA.STACKNAME); >>> ... >>> } >>> } >>> >>> >>> >>

AW: AW: Passing data between 2 created tasks

2007-04-29 Thread Jan.Materne
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

Re: AW: Passing data between 2 created tasks

2007-04-28 Thread Brian Agnew
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

Re: Passing data between 2 created tasks

2007-01-24 Thread Xavier Hanin
: 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

RE: Passing data between 2 created tasks

2007-01-24 Thread Farhdine Boutzakhti
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

RE: Passing data between 2 created tasks

2007-01-24 Thread Farhdine Boutzakhti
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

Re: Passing data between 2 created tasks

2007-01-24 Thread Xavier Hanin
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?

AW: Passing data between 2 created tasks

2007-01-24 Thread Jan.Materne
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

Passing data between 2 created tasks

2007-01-24 Thread Farhdine Boutzakhti
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