[
https://issues.apache.org/jira/browse/IVY-938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835688#action_12835688
]
Stefan Murawski commented on IVY-938:
-------------------------------------
It seems to work for the ivy Files. But not for the artifacts themselves (I
tried it with 2.1. and a development snapshot (Ivy 2.2.x-local-20100203234032).
[ivy:retrieve] readybank: Checking cache for: dependency:
readybank#TZCommon;jb-0.0.0 {compile=[*]}
[ivy:retrieve] don't use cache for readybank#TZCommon;jb-0.0.0: changing=true
[ivy:retrieve] don't use cache for readybank#TZCommon;jb-0.0.0:
checkModified=true
[ivy:retrieve] tried
D:\projects\TZ1/KS.build/jars/TZCommon/jb-0.0.0/ivy-jb-0.0.0.xml
[ivy:retrieve] jars.local: found md file for readybank#TZCommon;jb-0.0.0
[ivy:retrieve] =>
D:\projects\TZ1\KS.build\jars\TZCommon\jb-0.0.0\ivy-jb-0.0.0.xml (jb-0.0.0)
[ivy:retrieve] default-cache: revision in cache (not updated):
readybank#TZCommon;jb-0.0.0
The timestamp for the jarFiles is different but the size is the same.
If I enable <caches useOrigin="true" /> it works onyl AFTER I cleared the
repository. IF I leave it with a broken file. The broken File will still be
downloaded.
<caches useOrigin="true" /> seems to disable downloading the file, but not
skipping the cache if a file is already present.
> Fixed name snapshots are not updated even if they are marked as changing and
> the publication date is changed in repo
> --------------------------------------------------------------------------------------------------------------------
>
> Key: IVY-938
> URL: https://issues.apache.org/jira/browse/IVY-938
> Project: Ivy
> Issue Type: Bug
> Components: Core, Maven Compatibility
> Affects Versions: 2.0-RC1
> Reporter: Jyri Kytömäki
> Attachments: CacheUpdateTest.zip, CacheUpdateTest2.zip,
> ivysettings.xml
>
>
> Snapshot releases with static name like 1.2.3-SNAPSHOT are not updated into
> the cache.
> Same problem is with ivy and maven remote repos.
> Here ivy example:
> Remote ivy repo contains in ivy xml:
> status="integration" publication="20081010104634"
> Cache contains (.xml):
> status="integration" publication="20081010095107"
> But ivy_resolve does not update the cache. It prints this with verbose
> output:
> [ivy-resolve] default: Checking cache for: dependency:
> org#>module;1.2.3-SNAPSHOT {runtime=[runtime]}
> [ivy-resolve] don't use cache for org#>module;1.2.3-SNAPSHOT: changing=true
> [ivy-resolve] local: Checking cache for: dependency:
> org#>module;1.2.3-SNAPSHOT{runtime=[runtime]}
> [ivy-resolve] local: module revision found in cache:
> org#>module;1.2.3-SNAPSHOT
> [ivy-resolve] found org#>module;1.2.3-SNAPSHOT in remote_ivy
> ...
> [ivy-resolve] :: downloading artifacts ::
> [ivy-resolve] [NOT REQUIRED] org#>module;1.2.3-SNAPSHOT!module.jar
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.