Professional.Open.Source.dot.NET.Development.Programming.with.NAnt.NUnit.NDoc [Electronic resources]

John Wait

نسخه متنی -صفحه : 275/ 178
نمايش فراداده

Appendix B. NAntContrib Tasks

<adsisetprop>

Used to set the value of a property from an ADSI object.

Attribute

Description

Required

propname

The name of the property to set.

True

propvalue

The new value of the property.

True

path

The ADSI path of the location that we want to work with.

True

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

<adsisetprop path="${iis.path}/Root" 
propname="AuthAnonymous" propvalue="true" />