Ivy Chinese Reference Document (-ant) Task (3)-retrieve

Source: Internet
Author: User
Tags log regular expression

1) Retrieve

Retrieve task replication Resolves a good dependency to any location in your filesystem.

This is a post resolve task with all the behaviors and attributes that are common to all post resolve tasks.

From 1.4 This task can even synchronize the target directory with what is actually supposed to exist based on the results of dependency resolution. This means that if sync is set to "true", Ivy will not only copy the necessary files, but it will also delete the files that are no longer needed there.

Synchronization is actually deleting all files and directories that are no longer required for the retrieve task in the root target directory.

The root target directory is the directory of the first mark in the target regular expression that is marked as the first level.

For example:

Pattern:lib/[conf]/[artifact]. [ext]

Root:lib

2) Property

Property Describe Necessary
Pattern The ' pattern ' to ' use ' to copy the dependencies

A regular expression used to copy dependencies
No. Default is ${ivy.retrieve.pattern}
Ivypattern The pattern to use to copy the Ivy files of dependencies since 1.3

Regular expression for copying dependent Ivy files from 1.3
No. Ivy files that do not get dependencies by default
Conf A comma separated list of the configurations to retrieve

A comma-delimited list of configurations to get
No. Defaults to the configuration that was resolved by the last resolve call, or the * when the call Resoleve is not displayed
Sync True to synchronize the destination, false to just make a copy since 1.4

Sync directory path from 1.4 True, false just copy
No. Default to False
Type Comma separated list of accepted artifact types since 1.4

List of acceptable product types from 1.4, separated by commas
No. Default all product types are accepted
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 (since 2.0)

True to create a symbolic link, false copy a product. The destination of the symbolic link depends on the value of the Useorigin property (from 2.0)
No. Default to False
Settingsref A reference to the Ivy settings, that must is used by this task (since 2.0)

Must be referenced by the Iry settings used by this task
No, use ' ivy.instance ' by default
Log The log setting to use during the resolve and retrieve process. (Since 2.0)

Available options are the same as for resolve when used to trigger resolve (= automatically), or the Postresolvetask Lowing 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 whole retrieve process quiet unless errors occur
No, defaults to ' default '.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.