ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Rekk <konstantin.r...@gbv.de>
Subject Re: does chain resolver support latest?
Date Wed, 07 Jan 2009 23:48:42 GMT
Does not,  with:

<resolvers>
		<!-- chain name="main" dual="true">
			<resolver ref="shared"/>
			<resolver ref="vzgpublic"/>
    		</chain -->
		<chain name="vzgdev"  checkmodified="true" latest="latest-time"> <!--
latest="dev-revision" --> <!-- latest="latest-time" -->
			<!-- resolver ref="local" latest="latest-time"/-->
			<filesystem name="chlocal"  latest="latest-time">
				<ivy
pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
				<artifact
pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" />
		</filesystem>
		<filesystem name="chshared" latest="latest-time">
			<ivy
pattern="${ivy.shared.default.root}/${ivy.shared.default.ivy.pattern}" />
			<artifact
pattern="${ivy.shared.default.root}/${ivy.shared.default.artifact.pattern}" />
		</filesystem>
			<!-- resolver ref="shared" latest="latest-time"/ -->
			<!-- resolver ref="vzgpublic" latest="latest-time"/ -->
    		</chain>
	</resolvers>
	<modules>
		<module organisation="de.gbv" name="*" resolver="vzgdev"/>
	</modules>

debug output from ant script:
------------------------------------------------------------------
settings loaded (217ms)
        default cache: /home/kostja/.ivy2/cache
        default resolver: vzgpublic
        default latest strategy: latest-revision
        default conflict manager: latest-revision
        circular dependency strategy: warn
        validate: true
        check up2date: true
        -- 6 resolvers:
        shared [file]
                cache: null
                m2compatible: false
                ivy patterns:
                        /home/kostja/.ivy2/shared/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]
                artifact patterns:
                        /home/kostja/.ivy2/shared/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]
                repository: shared
        vzgpublic [url]
                cache: null
                m2compatible: false
                ivy patterns:

http://modules.gbv.de/public/modules/[organisation]/[module]/[revision]/ivy.xml
                artifact patterns:

http://modules.gbv.de/public/modules/[organisation]/[module]/[revision]/[type]s/[artifact]-[revision].[ext]
                repository: vzgpublic
        chshared [file]
                cache: null
                m2compatible: false
                ivy patterns:
                        /home/kostja/.ivy2/shared/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]
                artifact patterns:
                        /home/kostja/.ivy2/shared/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]
                repository: chshared
        vzgdev [chain] [chlocal, chshared]
                return first: false
                dual: false
                -> chlocal
                -> chshared
        local [file]
                cache: null
                m2compatible: false
                ivy patterns:
                        /home/kostja/.ivy2/local/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]
                artifact patterns:
                        /home/kostja/.ivy2/local/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]
                repository: local
        chlocal [file]
                cache: null
                m2compatible: false
                ivy patterns:
                        /home/kostja/.ivy2/local/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]
                artifact patterns:
                        /home/kostja/.ivy2/local/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]
                repository: chlocal
        module settings:
                {module=*, organisation=de.gbv} (exactOrRegexp) ->
resolver: vzgdev
--------------------------------------------------------------------------

Any ideas? Thanks!

Konstantin

On Wed, 2009-01-07 at 12:11 -0800, Maarten Coene wrote:
> Can you test if it works when you specify latest on each of the individual resolvers
in the chain?
> 
> Maarten



Mime
View raw message