~mandel/ubuntuone-windows-installer/fix_null_pointer_start

« back to all changes in this revision

Viewing changes to tools/Nant/doc/help/types/warnaserror.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.DotNet.Types.WarningAsError-->
 
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;warnaserror&gt; Type</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="../types/index.html">Type Reference</a>
 
21
          <img alt="-&gt;" src="../images/arrow.gif" /> &lt;warnaserror&gt;</td>
 
22
        <td class="NavBar-Cell" align="right">
 
23
                        v0.90</td>
 
24
      </tr>
 
25
    </table>
 
26
    <h1>&lt;warnaserror&gt;</h1>
 
27
    <p> Controls the behaviour of a compiler with regards to the reporting of warnings. </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">id</td>
 
39
          <td style="text-align: center;">string</td>
 
40
          <td> The ID used to be referenced later. </td>
 
41
          <td style="text-align: center;">False</td>
 
42
        </tr>
 
43
        <tr>
 
44
          <td valign="top">refid</td>
 
45
          <td style="text-align: center;">string</td>
 
46
          <td> The ID to use as the reference. </td>
 
47
          <td style="text-align: center;">False</td>
 
48
        </tr>
 
49
      </table>
 
50
    </div>
 
51
    <h3>Nested Elements:</h3>
 
52
    <!--Array-->
 
53
    <!--NestedElementArray=T:NAnt.DotNet.Types.CompilerWarning-->
 
54
    <h4>
 
55
      <a id="include">
 
56
      </a>
 
57
                    &lt;include&gt;
 
58
                </h4>
 
59
    <div class="nested-element"> Specifies a list of warnings that the compiler should treat as errors. This overrides the <code>warnaserror</code> attribute. Only supported when targeting .NET 2.0 or higher. <p> Represents a compiler warning. </p><h3>Parameters</h3><div class="table"><table><tr><th>Attribute</th><th style="text-align: center;">Type</th><th>Description</th><th style="text-align: center;">Required</th></tr><tr><td valign="top" class="required">number</td><td style="text-align: center;">string</td><td> A warning number, or comma-separated list of warnings, that you want the compiler to suppress or report. </td><td style="text-align: center;">True</td></tr><tr><td valign="top">if</td><td style="text-align: center;">bool</td><td> If <b>true</b> then the element will be processed; otherwise, skipped. The default is <b>true</b>. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">unless</td><td style="text-align: center;">bool</td><td> If <b>true</b> then the element will be skipped; otherwise, processed. The default is <b>false</b>. </td><td style="text-align: center;">False</td></tr></table></div></div>
 
60
    <h4>
 
61
      <a id="include">
 
62
      </a>
 
63
                    &lt;/include&gt;
 
64
                </h4>
 
65
    <!--Array-->
 
66
    <!--NestedElementArray=T:NAnt.DotNet.Types.CompilerWarning-->
 
67
    <h4>
 
68
      <a id="exclude">
 
69
      </a>
 
70
                    &lt;exclude&gt;
 
71
                </h4>
 
72
    <div class="nested-element"> Specifies a list of warnings that the compiler should NOT treat as errors. This is only useful if <code>warnaserror</code> is <b>true</b>. Only supported when targeting .NET 2.0 or higher. <p> Represents a compiler warning. </p><h3>Parameters</h3><div class="table"><table><tr><th>Attribute</th><th style="text-align: center;">Type</th><th>Description</th><th style="text-align: center;">Required</th></tr><tr><td valign="top" class="required">number</td><td style="text-align: center;">string</td><td> A warning number, or comma-separated list of warnings, that you want the compiler to suppress or report. </td><td style="text-align: center;">True</td></tr><tr><td valign="top">if</td><td style="text-align: center;">bool</td><td> If <b>true</b> then the element will be processed; otherwise, skipped. The default is <b>true</b>. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">unless</td><td style="text-align: center;">bool</td><td> If <b>true</b> then the element will be skipped; otherwise, processed. The default is <b>false</b>. </td><td style="text-align: center;">False</td></tr></table></div></div>
 
73
    <h4>
 
74
      <a id="exclude">
 
75
      </a>
 
76
                    &lt;/exclude&gt;
 
77
                </h4>
 
78
    <h3>Examples</h3>
 
79
    <ul class="examples">
 
80
      <li>
 
81
        <p> Instruct a compiler to report warning 0519 as an error. </p>
 
82
        <pre class="code">
 
83
            &lt;warnaserror&gt;
 
84
                &lt;include number="0519" /&gt;
 
85
            &lt;/warnaserror&gt;
 
86
                </pre>
 
87
      </li>
 
88
      <li>
 
89
        <p> Instruct a compiler not to report warning 0519 as an error, if the <code>release</code> property is <b>true</b>. </p>
 
90
        <pre class="code">
 
91
            &lt;warnaserror&gt;
 
92
                &lt;exclude number="0519" if="${release}" /&gt;
 
93
            &lt;/warnaserror&gt;
 
94
                </pre>
 
95
      </li>
 
96
    </ul>
 
97
    <h3>Requirements</h3>
 
98
    <div style="margin-left: 20px;">
 
99
      <b>Assembly:</b> NAnt.DotNetTasks (0.90.3780.0)
 
100
            </div>
 
101
  </body>
 
102
</html>
 
 
b'\\ No newline at end of file'