ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: setting up snapshots with ivy, not picking up latest snapshot
Date Wed, 10 Oct 2007 18:02:26 GMT
You must declare your dependency as changing. Have a look at the result of
this search:
http://incubator.apache.org/ivy/search.html?cx=014292259695392975429%3A5y6qypnrni8&cof=FORID%3A11&q=changing+pattern&sa=Search#1010

The first mail archive thread references a recent discussion about this
which should help.

Xavier

On 10/9/07, Loehr, Ruel <rloehr@pointserve.com> wrote:
>
> I'm trying to setup a snapshot system with ivy.   My nightly build
> correctly publishes a jar with 1.0.0-SNAPSHOT version to my repository.
>
>
>
> My build however, is not picking up the new snapshots and downloading
> the new version.
>
>
>
> I'm calling :
>
>
>
> 1)       ivy-setup (which just defines the ant tasks)
>
> 2)       ivy-configure (shown below)
>
> 3)       ivy-resolve
>
> 4)       ivy-retrieve
>
>
>
>
>
> What is the expected behavior of resolve when determing when to download
> a new version of a version?   When md5's change?  When the timestamp
> changes?
>
>
>
>
>
>
>
>
>
>     <target name="ivy-configure" description="--> setup ivy
> configuration">
>
>         <ivy-configure file="${config}/ivy/ivyconf.xml"/>
>
>     </target>
>
>
>
>
>
>     <!-- =================================
>
>           target: resolve
>
>          ================================= -->
>
>     <target name="ivy-resolve" description="--> retreive dependencies
> with ivy">
>
>         <ivy-resolve/>
>
>         <ivy-retrieve sync="true"/>
>
>     </target>
>
>
>
>
>
>
>
> Ivyconf properties looks like this
>
>
>
> ivy.conf.dir=${basedir}/config/ivy
>
> ivy.conf.file=${ivy.conf.dir}/ivyconf.xml
>
> ivy.ivyrep.default.ivy.root=http://pts-bldwin-01/repository
>
> ivy.retrieve.pattern = ${basedir}/libs/[conf]/[artifact].[ext]
>
>
>
> Ivy conf xml looks like this:
>
>
>
> <ivyconf>
>
>         <properties file="${ivy.conf.dir}/ivyconf-file.properties" />
>
>         <conf defaultResolver="default" checkUpToDate="true" />
>
>
>
>         <resolvers m2compatible="true">
>
>            <chain name="default">
>
>            <filesystem name="internal" checkmodified="true">
>
>                         <ivy
> pattern="\\pts-bldwin-01\repository\[organization]\[module]\[revision]\i
> vy-[revision].xml" />
>
>                                 <artifact
> pattern="\\pts-bldwin-01\repository\[organization]\[module]\[revision]\[
> artifact]-[revision].[ext]" />
>
>                         <artifact
> pattern="\\pts-bldwin-01\repository\[organization]\[module]\[revision]\[
> artifact].[ext]" />
>
>            </filesystem>
>
>                <url name="internal-url">
>
>                    <ivy
> pattern="http://pts-bldwin-01/repository/[organization]/[module]/[revisi
> on]/ivy-[revision].xml" />
>
>                    <artifact
> pattern="http://pts-bldwin-01/repository/[organization]/[module]/[revisi
> on]/[artifact]-[revision].[ext]" />
>
>                    <artifact
> pattern="http://pts-bldwin-01/repository/[organization]/[module]/[revisi
> on]/[artifact].[ext]" />
>
>                </url>
>
>             </chain>
>
>         </resolvers>
>
>         <modules>
>
>                 <module organisation="jayasoft" name=".*"
> resolver="default" />
>
>         </modules>
>
> </ivyconf>
>
>
>
> Ruel Loehr
>
> Configuration Management
>
>
>
> Pointserve, Inc.
>
> 110 Wild Basin Road
>
> Suite 300
>
> Austin, Texas 78746
>
> O: 512.617.5314
>
> F: 512.617.0466
>
>
>
>


-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://incubator.apache.org/ivy/
http://www.xoocode.org/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message