ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Andrews (JIRA)" <>
Subject [jira] Commented: (IVY-938) Fixed name snapshots are not updated even if they are marked as changing and the publication date is changed in repo
Date Tue, 04 Aug 2009 19:02:14 GMT


Paul Andrews commented on IVY-938:

The file is being served by hudson directly. The configuration I use is as follows:

	<settings defaultResolver="chained"/>
		<latest-time name="time"/>
		<chain name="chained" returnFirst="true">
			<!-- For getting stuff from the Maven 2 repo on gendev-lnx -->
			<!-- For getting stuff from the hudson repo on gendev-lnx -->
			<url name="hudson_sper" changingMatcher="regexp" changingPattern=".*SNAPSHOT.*" checkmodified="true">
				<artifact pattern="http://localhost:9090/hudson/job/SPER/lastSuccessfulBuild/artifact/sper/java/dist/[artifact].[ext]"/>

The snapshot artifact is not in the "internal" repository, it is in "hudson_sper". I have
traced the TCP traffic to both repositories and Ivy only issues one request: an HTTP HEAD
request for the artifact itself. At no time does it attempt to retrieve an ivy file. The server
returns a modification date later than the modification date of any copy of the artifact on
my local machine - either in the ivy cache or in the location that the artifact is copied
to by the resolver.

I don't see much point 'publishing' an ivy file to hudson_sper, since Ivy makes no attempt
to access one anyway.

> 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:
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core, Maven Compatibility
>    Affects Versions: 2.0-RC1
>            Reporter: Jyri Kytömäki
>         Attachments:,, 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
> [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.

View raw message