ndet: Samstag, 28. April 2007 13:29
>>An: Ant Users List
>>Betreff: Re: AW: Passing data between 2 created tasks
>>
>>A quick experiment with Ant 1.6.5 suggests that this doesn't work with
>>. e.g. in the below
>>
>>
>> TaskB...
>>
>>
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
A quick experiment with Ant 1.6.5 suggests that this doesn't work with
. e.g. in the below
TaskB...
TaskA
wouldn't work, since the results in a different Project
object. Is there a workaround in this scenario ?
Brian
[EMAIL PROTECTED] wrote:
Store your Stack as reference on the p
Store your Stack as reference on the project
TaskA {
public static final String STACKNAME = "someprefix.stack";
Stack stack;
public execute() {
...
getProject().addReference(STACKNAME, stack);
}
}
TaskB {
public execute() {
Stack stack = (Stack)getPro