<largeproperty>

Much like the property task but the value is generally larger.

Parameters

Attribute Type Description Required
namestringThe name of the NAnt property to set.True

Nested Elements:

<text>

The value on the property is provided by the inner text of the xml node.

</text>

Examples

i. Just a bunch of text.

<largeproperty name="Note">
  <value><![CDATA[This is line one.
This is line two.
This is line three.]]></value>
</largeproperty>

ii. Just a buch of xml.

<largeproperty name="SourceControl.BuildUpdateBlock">
  <value xml="true">
    <sourcecontrol  type="vss" applyLabel="false" autoGetSource="true" >
      <executable>C:\Program Files\Microsoft Visual Studio\VSS\win32\SS.EXE</executable>
      <project>$/%ProjectName%/%ProjectCodeLineName%/Build</project>
      <username>Build</username>
      <password>password</password>
      <ssdir>%VSSRootShare%\%ProjectName%</ssdir>
      <workingDirectory>%BuildDirectory%</workingDirectory>
    </sourcecontrol>
  </value>
</largeproperty>
 
nant.largeproperty.txt · Last modified: 2006/04/07 19:43 by jflowers
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki