Professional.Open.Source.dot.NET.Development.Programming.with.NAnt.NUnit.NDoc [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Professional.Open.Source.dot.NET.Development.Programming.with.NAnt.NUnit.NDoc [Electronic resources] - نسخه متنی

John Wait

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید







<get>Get a particular file from a URL source.


Options include verbose reporting, timestamp-based fetches, and controlling actions on failures.

Currently, only HTTP and UNC protocols are supported. FTP support may be added when more pluggable protocols are added to the System.Net assembly.

The useTimeStamp option enables you to control downloads so that the remote file is only fetched if it's newer than the local copy. If there is no local copy, the download always takes place. When a file is downloaded, the timestamp of the downloaded file is set to the remote timestamp.

NOTE

This timestamp facility only works on downloads using the HTTP protocol.

Attribute

Description

Required

src

The URL from which to retrieve a file.

True

dest

Where to store the retrieved file.

True

httpproxy

If inside a firewall, proxy server/port information Format: { proxy server name} :{ port number} Example: proxy.mycompany.com:8080

False

ignoreerrors

Log errors but don't treat as fatal. ("true"/"false"). Default is "false."

False

usetimestamp

Conditionally download a file based on the timestamp of the local copy. HTTP only. ("true"/"false"). Default is "false."

False

failonerror

Determines whether task failure stops the build or is just reported. Default is "true."

False

verbose

Task reports detailed build log messages. Default is "false."

False

if

If true then the task will be executed; otherwise skipped. Default is "true."

False

unless

Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false."

False

Example




<get src="http://nant.sourceforge.org/" dest="help/indexl"/>


/ 275