pattern | the pattern to use to copy the dependencies |
No. Defaults to ${ivy.retrieve.pattern} |
ivypattern | the pattern to use to copy the ivy files of dependencies since 1.3 |
No. Dependencies ivy files are not retrieved by default. |
conf | a comma separated list of the configurations to retrieve |
No. Defaults to the configurations resolved by the last resolve call, or * if no resolve was explicitly called |
sync | true to synchronize the destination, false to just make a copy since 1.4 |
No. Defaults to false |
type | comma separated list of accepted artifact types since 1.4 |
No. All artifact types are accepted by default. |
overwriteMode | option to configure when the destination file should be overwritten if it exist (since 2.2.0).
Possible values are:
- newer (default)
overwrite the destination file if a more recent one is available (based on timestamp)
- different
overwrite the destination file if the timestamp is different
- always
always overwrite the destination file
- never
never overwrite the destination file
| No. Defaults to 'newer'. |
symlink | true to create symbolic links, false to copy the artifacts.
The destination of the symbolic links depends on the value of the useOrigin attribute.
(requires "ln" to be a valid command, and to support the options -s and -f (works on UNIX/Linux, on other systems you may need to script "ln")
(since 2.0) | No. Defaults to false |
symlinkmass | true to create symbolic links in mass, false to copy the artifacts.
"symlinkmass" overrides "symlink" if both are set to "true".
"symlinkmass" will create the same symbolic links "symlink" does, but with a single process call to "sh" with batched "ln" commands passed in as standard input (works on UNIX/Linux, on other systems you may need to script it)
Far large lists of resolved jars, this can be dramatically faster.
The destination of the symbolic links depends on the value of the useOrigin attribute.
The events "StartRetrieveArtifactEvent" and EndRetrieveEvent are NOT fired by this activity, because it is not clear when they should be called.
(since 2.4) | No. Defaults to false |
settingsRef | A reference to the ivy settings that must be used by this task (since 2.0) | No, 'ivy.instance' is taken by default. |
log | the log setting to use during the resolve and retrieve process. (since 2.0)
Available options are the same as for [[ant:resolve]] when used to trigger resolve automatically (see [[ant:postresolvetask]]), or the following for the retrieve process only:
- default
the default log settings, where all usual messages are output to the console
- quiet
disable all usual messages, making the whole retrieve process quiet unless errors occur
| No, defaults to 'default'. |