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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

The Wabbit




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to