incubator-ivy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarosław Wypychowski (JIRA) <j...@apache.org>
Subject [jira] Updated: (IVY-497) Ant project reference lost from context on multiple ant calls in single thread
Date Thu, 10 May 2007 16:23:15 GMT

     [ https://issues.apache.org/jira/browse/IVY-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jarosław Wypychowski updated IVY-497:
-------------------------------------

    Attachment: IVY-497-2.diff

A version of the previous patch
This one renames IvyContext.top to IvyContext.peek,
introduces IvyTask.prepareTask and IvyTask.finalizeTask and moves IvyTask.execute to final.

> Ant project reference lost from context on multiple ant calls in single thread
> ------------------------------------------------------------------------------
>
>                 Key: IVY-497
>                 URL: https://issues.apache.org/jira/browse/IVY-497
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant
>    Affects Versions: 1.4.1
>            Reporter: Jarosław Wypychowski
>         Attachments: IVY-497-1.diff, IVY-497-2.diff
>
>
> If resolve task calls an ant trigger which calls an ant task which calls resolve which
calls ... 
> Ant project reference is kept within IvyContext thread local map of weakly referenced
objects. On concurrent ant calls the project information is being overwritten by temporary
ant projects, which after cleanup by GC result in inability to call a trigger.
> A solution would be to stack project references within the IvyContext map. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message