Hi,

I have some problems with eviction strategy. I set a defaultConflictManager="latest-time" in my ivyconf meaning for me if a conflict appears to retrieve all the time the last in time published.

Say for instance that I have 3 modules A, B and C.
1) I publish C-1.0.0 and later C-1.0.1.
2) B needs  C-1.0.0, I retrieve (ok) and I publish B-1.0.0
3) A needs B-1.0.0 and C-1.0.1 (order is important: B before C in ivy file ...)

When I retrieve I get C-1.0.0 ???
 [resolve]     :: evicted modules:
[resolve] [ MyCompany | C | 1.0.1 ] by [[ MyCompany | C | 1.0.0 ]] in [all]
 [resolve]       in [ MyCompany | A | 1.0.0 ] with latest-time

If I change the order in the ivy file i.e. C before B, I get what I want C-1.0.1 ...
 [resolve]     :: evicted modules:
[resolve] [ MyCompany | C | 1.0.0 ] by [[ MyCompany | C | 1.0.1 ]] in [all]
 [resolve]       in [ MyCompany | B | 1.0.0 ] with latest-time

Is it normal ?


Thanks in advance,
Gilles

Reply via email to