ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wascally Wabbit <wascallywab...@earthling.net>
Subject Re: Internal AntCall and references
Date Tue, 14 Dec 2004 23:38:37 GMT
At 12:06 PM 12/13/2004, you wrote:

Don't know about "better" but these are different ways to
approach your situation:

         a) globals (they never die...)
         b) thread locals
         c) build listeners


>    Hello,
>
>  I have created a task that must be 'context' aware. Currently, I stores
>  information (Java objects) in a ugly static map in my task and it works
>  well.
>
>  To clean it, I decided to use project references but it does not work with
>  'antcall':
>
>  target A
>    antcall B
>    MyTask{getReference X}
>
>  target B
>    MyTask{setReference X}
>
>  Is there a better way to implement a global storage ?
>
>  Thank you in advance. Regards,
>--
>Yves Martin
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org

The Wabbit 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message