ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: How to get the newest version number?
Date Tue, 20 Jul 2010 06:19:11 GMT
Jan,

are you sure that ${ivy.organisation} and ${ivy.module} are specified before 
calling ivy:findrevision?

Maarten



----- Original Message ----
From: "Jan.Materne@rzf.fin-nrw.de" <Jan.Materne@rzf.fin-nrw.de>
To: ivy-user@ant.apache.org
Sent: Wed, July 14, 2010 3:38:16 PM
Subject: How to get the newest version number?

I published an artefact with

  <ivy:publish resolver="publish.snapshot"
      pubrevision="0.0.1.test" forcedeliver="true" pubdate="now"
overwrite="true"
      publishivy="true" status="integration">
      <artifacts pattern="${jars.dir}/[artifact].[ext]" />
  </ivy:publish>

For the next run I want to get the newest version from the repository
manager (Nexus) for increasing the version number. 
Looking at the Ivy Ant Tasks I found <ivy:findrevision>

While
  <ivy:findrevision property="junit.ver1" organisation="junit"
module="junit" revision="latest.integration"/>
gives me a value (4.8.1)

this
  <ivy:findrevision property="ver" organisation="${ivy.organisation}"
module="${ivy.module}" revision="latest.integration"/>
does not find anything ("ver" is unset).


Any ideas where to look at?


Jan



      

Mime
View raw message