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

Vadim Kopichenko updated IVY-1443:
----------------------------------

    Description: 
During partial ivy integration into legacy project I found that global exclude 
isn't respected for transitive dependencies with local filesystem resolver when 
ivy cache was just cleared. But it starts working again on the second run with 
present cache.

The need for local filesystem resolver is mandated by the fact that ivy is 
currently used only to fetch transitive dependencies for selected modules while 
project modules themselves remain to be built from plain ant and are not 
published to repository.

Attaching minimal sample project to reproduce the problem in 
ivy-transitive-exclude-bug.zip.
It also demonstrates workaround with second retrieve in separate antcall.
Just compare the result of retrieve-buggy and retrieve-workaround ant targets.


  was:
During partial ivy integration into legacy project I found that global exclude 
isn't respected for transitive dependencies with local filesystem resolver when 
ivy cache was just cleared. But it starts working again on the second run with 
present cache.

The need for local filesystem resolver is mandated by the fact that ivy is 
currently used only to fetch transitive dependencies for selected modules while 
project modules themselves remain to be built from plain ant and are not 
published to repository.

Attaching minimal sample project to reproduce the problem in 
ivy-transitive-exclude-bug.zip.
It also demonstrates workaround with second retrieve in separate antcall.



> Transitive exclusion doesn't work with cleared cache
> ----------------------------------------------------
>
>                 Key: IVY-1443
>                 URL: https://issues.apache.org/jira/browse/IVY-1443
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0, 2.1.0, 2.3.0
>            Reporter: Vadim Kopichenko
>         Attachments: ivy-transitive-exclude-bug.zip
>
>
> During partial ivy integration into legacy project I found that global 
> exclude isn't respected for transitive dependencies with local filesystem 
> resolver when ivy cache was just cleared. But it starts working again on the 
> second run with present cache.
> The need for local filesystem resolver is mandated by the fact that ivy is 
> currently used only to fetch transitive dependencies for selected modules 
> while project modules themselves remain to be built from plain ant and are 
> not published to repository.
> Attaching minimal sample project to reproduce the problem in 
> ivy-transitive-exclude-bug.zip.
> It also demonstrates workaround with second retrieve in separate antcall.
> Just compare the result of retrieve-buggy and retrieve-workaround ant targets.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to