~mandel/ubuntuone-windows-installer/fix_null_pointer_start

« back to all changes in this revision

Viewing changes to tools/Nant/doc/help/tasks/readregistry.html

  • Committer: Manuel de la Pena
  • Date: 2010-07-08 13:22:59 UTC
  • Revision ID: mandel@themacaque.com-20100708132259-y1jgyuyqfe9stt8u
Updated build script to run tests and added all the required tools so far.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
  <!-- Documenting T:NAnt.Win32.Tasks.ReadRegistryTask-->
 
4
  <head>
 
5
    <meta http-equiv="Content-Language" content="en-ca" />
 
6
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
7
    <link rel="stylesheet" type="text/css" href="../style.css" />
 
8
    <title>&lt;readregistry&gt; Task</title>
 
9
  </head>
 
10
  <body>
 
11
    <table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
 
12
      <tr>
 
13
        <td class="NavBar-Cell">
 
14
          <a href="http://nant.sourceforge.net">
 
15
            <b>NAnt</b>
 
16
          </a>
 
17
          <img alt="-&gt;" src="../images/arrow.gif" />
 
18
          <a href="../index.html">Help</a>
 
19
          <img alt="-&gt;" src="../images/arrow.gif" />
 
20
          <a href="../tasks/index.html">Task Reference</a>
 
21
          <img alt="-&gt;" src="../images/arrow.gif" /> &lt;readregistry&gt;</td>
 
22
        <td class="NavBar-Cell" align="right">
 
23
                        v0.90</td>
 
24
      </tr>
 
25
    </table>
 
26
    <h1>&lt;readregistry&gt;</h1>
 
27
    <p> Reads a value or set of values from the Windows Registry into one or more NAnt properties. </p>
 
28
    <h3>Parameters</h3>
 
29
    <div class="table">
 
30
      <table>
 
31
        <tr>
 
32
          <th>Attribute</th>
 
33
          <th style="text-align: center;">Type</th>
 
34
          <th>Description</th>
 
35
          <th style="text-align: center;">Required</th>
 
36
        </tr>
 
37
        <tr>
 
38
          <td valign="top" class="required">key</td>
 
39
          <td style="text-align: center;">string</td>
 
40
          <td> The registry key to read, including the path. </td>
 
41
          <td style="text-align: center;">True</td>
 
42
        </tr>
 
43
        <tr>
 
44
          <td valign="top">hive</td>
 
45
          <td style="text-align: center;">string</td>
 
46
          <td> Space separated list of registry hives to search for <code>key</code>. For a list of possible values, see <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfMicrosoftWin32RegistryHiveClassTopic.asp">RegistryHive</a>. The default is <code>LocalMachine</code>. </td>
 
47
          <td style="text-align: center;">False</td>
 
48
        </tr>
 
49
        <tr>
 
50
          <td valign="top">prefix</td>
 
51
          <td style="text-align: center;">string</td>
 
52
          <td>
 
53
            <p>The prefix to use for the specified registry key values.</p>
 
54
            <p>If this attribute is used then all registry values will be read and stored as properties with this prefix.</p>
 
55
          </td>
 
56
          <td style="text-align: center;">False</td>
 
57
        </tr>
 
58
        <tr>
 
59
          <td valign="top">property</td>
 
60
          <td style="text-align: center;">string</td>
 
61
          <td>
 
62
            <p>The property to set to the specified registry key value.</p>
 
63
            <p>If this attribute is used then a single value will be read.</p>
 
64
          </td>
 
65
          <td style="text-align: center;">False</td>
 
66
        </tr>
 
67
        <tr>
 
68
          <td valign="top">failonerror</td>
 
69
          <td style="text-align: center;">bool</td>
 
70
          <td> Determines if task failure stops the build, or is just reported. The default is <b>true</b>. </td>
 
71
          <td style="text-align: center;">False</td>
 
72
        </tr>
 
73
        <tr>
 
74
          <td valign="top">if</td>
 
75
          <td style="text-align: center;">bool</td>
 
76
          <td> If <b>true</b> then the task will be executed; otherwise, skipped. The default is <b>true</b>. </td>
 
77
          <td style="text-align: center;">False</td>
 
78
        </tr>
 
79
        <tr>
 
80
          <td valign="top">unless</td>
 
81
          <td style="text-align: center;">bool</td>
 
82
          <td> Opposite of <code>if</code>. If <b>false</b> then the task will be executed; otherwise, skipped. The default is <b>false</b>. </td>
 
83
          <td style="text-align: center;">False</td>
 
84
        </tr>
 
85
        <tr>
 
86
          <td valign="top">verbose</td>
 
87
          <td style="text-align: center;">bool</td>
 
88
          <td> Determines whether the task should report detailed build log messages. The default is <b>false</b>. </td>
 
89
          <td style="text-align: center;">False</td>
 
90
        </tr>
 
91
      </table>
 
92
    </div>
 
93
    <h3>Examples</h3>
 
94
    <ul class="examples">
 
95
      <li>
 
96
        <p>Read a single value from the registry.</p>
 
97
        <pre class="code">
 
98
            &lt;readregistry property="sdkRoot" key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot" hive="LocalMachine" /&gt;
 
99
                </pre>
 
100
        <p>Read all the registry values in a key.</p>
 
101
        <pre class="code">
 
102
            &lt;readregistry prefix="dotNetFX" key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot" hive="LocalMachine" /&gt;
 
103
                </pre>
 
104
      </li>
 
105
    </ul>
 
106
    <h3>Requirements</h3>
 
107
    <div style="margin-left: 20px;">
 
108
      <b>Assembly:</b> NAnt.Win32Tasks (0.90.3780.0)
 
109
            </div>
 
110
  </body>
 
111
</html>
 
 
b'\\ No newline at end of file'