5

I have an ivy file with the following dependency:

<dependency org="totimm" name="techcentral" rev="1.6.+" conf="sdk->sdk" transitive="false"/>

Is there any way to determine the revision that is resolved (for example 1.6.0, 1.6.1, etc) from the ant file which orders the ivy resolve?

1 Answers1

6

You should be able to use the artifactproperty task for this, something like:

<ivy:artifactproperty
     name="module.[module].rev" value="[revision]"/>

will set one property, holding the revision number, for each artifact resolved.

martin clayton
  • 76,436
  • 32
  • 213
  • 198