- Home
- Download
- Documentation (2.0.0-beta1)
- History
- Trunk
- 2.x
- 2.0.x
- 2.0.0-beta1
- 2.0.0-alpha2
- 2.0.0-alpha-1
- 2.0.x
- 1.x
- 0.x
- Get Involved
- Search
info
since 1.4 The info task ease the access to some essential data contained in an ivy file without performing a dependency resolution.
The information is retrieved by setting ant properties:
ivy.organisation | The organisation of the module, as found in the info tag of the ivy file parsed |
ivy.module | The name of the module, as found in the info tag of the ivy file parsed |
ivy.revision | The revision of the module, as found in the info tag of the ivy file parsed |
ivy.configurations | A comma separated list of configurations of the module, as declared in the configurations section |
ivy.public.configurations | A comma separated list of public configurations of the module, as declared in the configurations section |
Attributes
Attribute | Description | Required |
---|---|---|
file | the ivy file to parse | Yes |
settingsRef | A reference to the ivy settings that must be used by this task (since 2.0) | No, 'ivy.instance' is taken by default. |
Examples
<ivy:info file="${basedir}/path/to/ivy.xml" />Parses ${basedir}/path/to/ivy.xml and set properties as described above accordingly.