Ivy Chinese Reference Document (-ant) Task (4)-configure

Source: Internet
Author: User
Tags http authentication

1) Configure

The Configure task is used to configure Ivy by using the XML setup file.

Consult the settings file to get the details of the settings file itself.

You can configure Ivy through the Sttings declaration from 2.0. The difference with this task is that when you use the settings declaration, the Ivy configuration is done when the settings are first needed (for example, when you do a resolve), and the Configure task is immediately configured so that it is easy to see if something goes wrong.

2) Property

Property Describe Necessary
Settingsid The settings ID useable in the settingsref attributes of the Ivy task that needs a setting. Note that the Ivy tasks would search by default for the settings with the id "ivy.instance" and the which is the default value.

The settings ID is used in the Settingsref attribute of the Ivy task that needs to be set. Notice that the Ivy task will search by default for the setting with the ID "ivy.instance", which is the default value
No, default to "Ivy.instance"
File Path to the settings file to use

The path to the settings file to use
No. If a file is provided, the URL is ignored. If none is provided, an attempt is made to find the ${ivy.settings.file} file, and if it is not, the default settings file is used
wr. URL of the settings file to use

The URL of the settings file to use
Override Specify what to did when another settings with the same ID has already been.

Indicates what to do when another setting with the same ID is already loaded

True

The current setting overrides any previously defined settings that use this ID

False

The current settings will not overwrite the previously defined settings that use this ID

NotAllowed

If a setting with this ID is already defined, an error is reported
No, default to "NotAllowed"
Host HTTP Authentication Host No, unless HTTP authentication is required.
Realm HTTP Authentication Realm
Username HTTP Authentication User Name
passwd HTTP Authentication Password

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.