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?
Have a look at <ivy:dependencytree /> that will display the dependency tree in the console.
Ivy is a dependency manager -- it manages and controls the JAR files that your project depends on. If you don't have the JARs, it will pull them down for you by default (from the Maven 2 repository), which can make project setup a lot easier.
The ivysettings. xml file holds a chain of Ivy resolvers for both regular artifacts and Ivy module files. These are used to resolve and publish (i.e. deploy) artifacts. There are a two ways to configure resolvers in ivysettings.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With