ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject How to get the newest version number?
Date Wed, 14 Jul 2010 13:38:16 GMT
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