⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 anttask.html

📁 JSP页面代码排错
💻 HTML
📖 第 1 页 / 共 2 页
字号:
       complete source information, which allows later viewing in the       GUI.       </p></dd><dt><span class="term"><code class="literal">home</code></span></dt><dd><p>       A required attribute.       It must be set to the name of the directory where <span class="application">FindBugs</span> is installed.       </p></dd><dt><span class="term"><code class="literal">quietErrors</code></span></dt><dd><p>       An optional boolean attribute.       If true, reports of serious analysis errors and missing classes will       be suppressed in the <span class="application">FindBugs</span> output.  Default is false.       </p></dd><dt><span class="term"><code class="literal">reportLevel</code></span></dt><dd><p>       An optional attribute.  It specifies       the priority threshold for reporting bugs.  If set to "low", all bugs are reported.       If set to "medium" (the default), medium and high priority bugs are reported.       If set to "high", only high priority bugs are reported.       </p></dd><dt><span class="term"><code class="literal">output</code></span></dt><dd><p>       Optional attribute.       It specifies the output format.  If set to "xml" (the default), output       is in XML format.	   If set to "xml:withMessages", output is in XML format augmented with	   human-readable messages.  (You should use this format if you plan		to generate a report using an XSL stylesheet.)	   If set to "html", output is in HTML formatted (default stylesheet is default.xsl).		If set to "text", output is in ad-hoc text format.       If set to "emacs", output is in <a href="http://www.gnu.org/software/emacs/" target="_top">Emacs</a> error message format.	   If set to "xdocs", output is xdoc XML for use with Apache Maven.       </p></dd><dt><span class="term"><code class="literal">stylesheet</code></span></dt><dd><p>       Optional attribute.      It specifies the stylesheet to use to generate html output when the output is set to html.      Stylesheets included in the FindBugs distribution include default.xsl, fancy.xsl, fancy-hist.xsl, plain.xsl, and summary.xsl.       The default value, if no stylesheet attribute is provided, is default.xsl.             </p></dd><dt><span class="term"><code class="literal">sort</code></span></dt><dd><p>       Optional attribute.  If the <code class="literal">output</code> attribute       is set to "text", then the <code class="literal">sort</code> attribute specifies       whether or not reported bugs are sorted by class.  Default is true.       </p></dd><dt><span class="term"><code class="literal">outputFile</code></span></dt><dd><p>       Optional attribute.  If specified, names the output file in which the       <span class="application">FindBugs</span> output will be saved.  By default, the output is displayed       directly by <span class="application">Ant</span>.       </p></dd><dt><span class="term"><code class="literal">debug</code></span></dt><dd><p>      Optional boolean attribute.  If set to true, <span class="application">FindBugs</span> prints diagnostic      information about which classes are being analyzed, and which bug pattern      detectors are being run.  Default is false.       </p></dd><dt><span class="term"><code class="literal">effort</code></span></dt><dd><p>			  Set the analysis effort level.  The value specified should be			  one of <code class="literal">min</code>, <code class="literal">default</code>,			  or <code class="literal">max</code>.  See <a href="running.html#commandLineOptions" title="3.&nbsp;Command-line Options">Section&nbsp;3, &#8220;Command-line Options&#8221;</a>			  for more information about setting the analysis level.		  </p></dd><dt><span class="term"><code class="literal">conserveSpace</code></span></dt><dd><p>Synonym for effort="min".</p></dd><dt><span class="term"><code class="literal">workHard</code></span></dt><dd><p>Synonym for effort="max".</p></dd><dt><span class="term"><code class="literal">visitors</code></span></dt><dd><p>       Optional attribute.  It specifies a comma-separated list of bug detectors       which should be run.  The bug detectors are specified by their class names,       without any package qualification.  By default, all detectors which are       not disabled by default are run.       </p></dd><dt><span class="term"><code class="literal">omitVisitors</code></span></dt><dd><p>       Optional attribute.  It is like the <code class="literal">visitors</code> attribute,       except it specifies detectors which will <span class="emphasis"><em>not</em></span> be run.       </p></dd><dt><span class="term"><code class="literal">excludeFilter</code></span></dt><dd><p>       Optional attribute.  It specifies the filename of a filter specifying bugs       to exclude from being reported.  See <a href="filter.html" title="Chapter&nbsp;8.&nbsp;Filter Files">Chapter&nbsp;8, <i>Filter Files</i></a>.       </p></dd><dt><span class="term"><code class="literal">includeFilter</code></span></dt><dd><p>       Optional attribute.  It specifies the filename of a filter specifying       which bugs are reported.  See <a href="filter.html" title="Chapter&nbsp;8.&nbsp;Filter Files">Chapter&nbsp;8, <i>Filter Files</i></a>.       </p></dd><dt><span class="term"><code class="literal">projectFile</code></span></dt><dd><p>       Optional attribute.  It specifies the name of a project file.       Project files are created by the <span class="application">FindBugs</span> GUI, and specify classes,       aux classpath entries, and source directories.  By naming a project,       you don't need to specify any <code class="literal">class</code> elements,       nor do you need to specify <code class="literal">auxClasspath</code> or       <code class="literal">sourcePath</code> attributes.       See <a href="running.html" title="Chapter&nbsp;4.&nbsp;Running FindBugs&#8482;">Chapter&nbsp;4, <i>Running <span class="application">FindBugs</span>&#8482;</i></a> for how to create a project.       </p></dd><dt><span class="term"><code class="literal">jvmargs</code></span></dt><dd><p>       Optional attribute.  It specifies any arguments that should be passed       to the Java virtual machine used to run <span class="application">FindBugs</span>.  You may need to       use this attribute to specify flags to increase the amount of memory       the JVM may use if you are analyzing a very large program.       </p></dd><dt><span class="term"><code class="literal">systemProperty</code></span></dt><dd><p>      Optional nested element.  If specified, defines a system property.      The <code class="literal">name</code> attribute specifies the name of the      system property, and the <code class="literal">value</code> attribute specifies      the value of the system property.      </p></dd><dt><span class="term"><code class="literal">timeout</code></span></dt><dd><p>       Optional attribute.  It specifies the amount of time, in milliseconds,       that the Java process executing <span class="application">FindBugs</span> may run before it is       assumed to be hung and is terminated.  The default is 600,000       milliseconds, which is ten minutes.  Note that for very large       programs, <span class="application">FindBugs</span> may require more than ten minutes to complete its        analysis.       </p></dd><dt><span class="term"><code class="literal">failOnError</code></span></dt><dd><p>       Optional boolean attribute.  Whether to abort the build process if there is an        error running <span class="application">FindBugs</span>. Defaults to "false"       </p></dd><dt><span class="term"><code class="literal">errorProperty</code></span></dt><dd><p>       Optional attribute which specifies the name of a property that       will be set to "true" if an error occurs while running <span class="application">FindBugs</span>.       </p></dd><dt><span class="term"><code class="literal">warningsProperty</code></span></dt><dd><p>			  Optional attribute which specifies the name of a property			  that will be set to "true" if any warnings are reported by			  <span class="application">FindBugs</span> on the analyzed program.		  </p></dd></dl></div><p></p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="gui.html">Prev</a>&nbsp;</td><td width="20%" align="center">&nbsp;</td><td width="40%" align="right">&nbsp;<a accesskey="n" href="eclipse.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&nbsp;5.&nbsp;Using the <span class="application">FindBugs</span> GUI&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;Chapter&nbsp;7.&nbsp;Using the <span class="application">FindBugs</span>&#8482; Eclipse plugin</td></tr></table></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -