Reputation: 53
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?
Upvotes: 5
Views: 842
Reputation: 78105
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.
Upvotes: 6