Re: cgen "memory" of last task

From: Mike Kienenberger (mkienen..mail.com)
Date: Fri Oct 14 2005 - 10:58:50 EDT

  • Next message: Mike Kienenberger: "Does creation of velocity properties need to be in a synchronized static method?"

    Andrus,
    I'll take a look, and try to fix the singleton issue.

    Malcolm,
    Thanks for the info. It's not normally an issue with an ant cgen
    task. However, it might be an issue with the modeler. Even so, it's
    not a long-running process most of the time.

    On 10/13/05, Andrus Adamchik <andru..bjectstyle.org> wrote:
    >
    > On Oct 13, 2005, at 5:39 PM, Mike Kienenberger wrote:
    >
    > > I'm noticing that when I run several cgen ant tasks in a row, there's
    > > a "memory" that seems to keep any macros I've defined previously.
    > > Maybe attributes too, but I'm less sure about this. Any ideas why
    > > this might be?
    >
    > Velocity engine is a singleton?
    >
    > I need to check the code, but I suspect there are static parts in our
    > Velocity configuration. We may need to get rid of them.
    >
    > Andrus
    >



    This archive was generated by hypermail 2.0.0 : Fri Oct 14 2005 - 10:58:54 EDT