亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? anttask.html

?? JSP頁面代碼排錯
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<html><head>      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">   <title>Chapter&nbsp;6.&nbsp;Using the FindBugs&#8482; Ant task</title><meta name="generator" content="DocBook XSL Stylesheets V1.71.1"><link rel="start" href="index.html" title="FindBugs&#8482; Manual"><link rel="up" href="index.html" title="FindBugs&#8482; Manual"><link rel="prev" href="gui.html" title="Chapter&nbsp;5.&nbsp;Using the FindBugs GUI"><link rel="next" href="eclipse.html" title="Chapter&nbsp;7.&nbsp;Using the FindBugs&#8482; Eclipse plugin"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&nbsp;6.&nbsp;Using the <span class="application">FindBugs</span>&#8482; <span class="application">Ant</span> task</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="gui.html">Prev</a>&nbsp;</td><th width="60%" align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="eclipse.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="anttask"></a>Chapter&nbsp;6.&nbsp;Using the <span class="application">FindBugs</span>&#8482; <span class="application">Ant</span> task</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="anttask.html#d0e1200">1. Installing the <span class="application">Ant</span> task</a></span></dt><dt><span class="sect1"><a href="anttask.html#d0e1238">2. Modifying build.xml</a></span></dt><dt><span class="sect1"><a href="anttask.html#d0e1309">3. Executing the task</a></span></dt><dt><span class="sect1"><a href="anttask.html#d0e1334">4. Parameters</a></span></dt></dl></div><p>This chapter describes how to integrate <span class="application">FindBugs</span> into a build scriptfor <a href="http://ant.apache.org/" target="_top"><span class="application">Ant</span></a>, which is a popular Java buildand deployment tool.  Using the <span class="application">FindBugs</span> <span class="application">Ant</span> task, your build script canautomatically run <span class="application">FindBugs</span> on your Java code.</p><p>The <span class="application">Ant</span> task was generously contributed by Mike Fagan.</p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1200"></a>1.&nbsp;Installing the <span class="application">Ant</span> task</h2></div></div></div><p>To install the <span class="application">Ant</span> task, simply copy <code class="filename"><em class="replaceable"><code>$FINDBUGS_HOME</code></em>/lib/findbugs-ant.jar</code>into the <code class="filename">lib</code> subdirectory of your <span class="application">Ant</span> installation.</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"><p>It is strongly recommended that you use the <span class="application">Ant</span> task with the versionof <span class="application">FindBugs</span> it was included with.  We do not guarantee that the <span class="application">Ant</span> task Jar filewill work with any version of <span class="application">FindBugs</span> other than the one it was included with.</p></td></tr></table></div><p></p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1238"></a>2.&nbsp;Modifying build.xml</h2></div></div></div><p>To incorporate <span class="application">FindBugs</span> into <code class="filename">build.xml</code> (the build scriptfor <span class="application">Ant</span>), you first need to add a task definition.  This should appear as follows:</p><pre class="screen">  &lt;taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask"/&gt;</pre><p>The task definition specifies that when a <code class="literal">findbugs</code> element isseen in <code class="filename">build.xml</code>, it should use the indicated class to execute the task.</p><p>After you have added the task definition, you can define a targetwhich uses the <code class="literal">findbugs</code> task.  Here is an examplewhich could be added to the <code class="filename">build.xml</code> for theApache <a href="http://jakarta.apache.org/bcel/" target="_top">BCEL</a> library.</p><pre class="screen">  &lt;property name="findbugs.home" value="/export/home/daveho/work/findbugs" /&gt;  &lt;target name="findbugs" depends="jar"&gt;    &lt;findbugs home="${findbugs.home}"              output="xml"              outputFile="bcel-fb.xml" &gt;      &lt;auxClasspath path="${basedir}/lib/Regex.jar" /&gt;      &lt;sourcePath path="${basedir}/src/java" /&gt;      &lt;class location="${basedir}/bin/bcel.jar" /&gt;    &lt;/findbugs&gt;  &lt;/target&gt;</pre><p>The <code class="literal">findbugs</code> element must have the <code class="literal">home</code>attribute set to the directory in which <span class="application">FindBugs</span> is installed; in other words,<em class="replaceable"><code>$FINDBUGS_HOME</code></em>.  See <a href="installing.html" title="Chapter&nbsp;2.&nbsp;Installing FindBugs&#8482;">Chapter&nbsp;2, <i>Installing <span class="application">FindBugs</span>&#8482;</i></a>.</p><p>This target will execute <span class="application">FindBugs</span> on <code class="filename">bcel.jar</code>, which is theJar file produced by BCEL's build script.  (By making it depend on the "jar"target, we ensure that the library is fully compiled before running <span class="application">FindBugs</span> on it.)The output of <span class="application">FindBugs</span> will be saved in XML format to a file called<code class="filename">bcel-fb.xml</code>.An auxiliary Jar file, <code class="filename">Regex.jar</code>, is added to the aux classpath,because it is referenced by the main BCEL library.  A source path is specifiedso that the saved bug data will have accurate references to the BCEL source code.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1309"></a>3.&nbsp;Executing the task</h2></div></div></div><p>Here is an example of invoking <span class="application">Ant</span> from the command line, using the <code class="literal">findbugs</code>target defined above.</p><pre class="screen">  <code class="prompt">[daveho@noir]$</code> <span><strong class="command">ant findbugs</strong></span>  Buildfile: build.xml    init:    compile:    examples:    jar:    findbugs:   [findbugs] Running FindBugs...   [findbugs] Bugs were found   [findbugs] Output saved to bcel-fb.xml    BUILD SUCCESSFUL  Total time: 35 seconds</pre><p>In this case, because we saved the bug results in an XML file, we canuse the <span class="application">FindBugs</span> GUI to view the results; 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>.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1334"></a>4.&nbsp;Parameters</h2></div></div></div><p>This section describes the parameters that may be specified whenusing the <span class="application">FindBugs</span> task.</p><div class="variablelist"><dl><dt><span class="term"><code class="literal">class</code></span></dt><dd><p>       A nested element specifying which classes to analyze.  The <code class="literal">class</code>       element must specify a <code class="literal">location</code> attribute which names the       archive file (jar, zip, etc.), directory, or class file to be analyzed.  Multiple <code class="literal">class</code>       elements may be specified as children of a single <code class="literal">findbugs</code> element.       </p></dd><dt><span class="term"><code class="literal">auxClasspath</code></span></dt><dd><p>       An optional nested element which specifies a classpath (Jar files or directories)       containing classes used by the analyzed library or application, but which       you don't want to analyze.  It is specified the same way as       <span class="application">Ant</span>'s <code class="literal">classpath</code> element for the Java task.       </p></dd><dt><span class="term"><code class="literal">sourcePath</code></span></dt><dd><p>       An optional nested element which specifies a source directory path       containing source files used to compile the Java code being analyzed.       By specifying a source path, any generated XML bug output will have

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩亚洲综合一区二区三区| 不卡的电影网站| 91精品国产入口| 日韩av一级片| 精品粉嫩aⅴ一区二区三区四区 | 亚洲福利一二三区| 欧美美女激情18p| 免费日韩伦理电影| 久久影院电视剧免费观看| 国产成人av网站| 综合久久久久久| 欧美色综合网站| 日韩不卡一二三区| 久久久久久久久久美女| 91色综合久久久久婷婷| 一区二区三区四区中文字幕| 欧美福利电影网| 国产91在线|亚洲| 亚洲综合免费观看高清完整版| 在线播放中文一区| 成人在线综合网| 亚洲国产精品久久久久婷婷884| 91精品国产色综合久久ai换脸| 国产99精品视频| 亚洲成人黄色小说| 国产日产欧美一区二区视频| 91福利国产成人精品照片| 久久国内精品视频| 亚洲欧美日韩久久精品| 日韩午夜小视频| 北条麻妃国产九九精品视频| 日韩精品欧美成人高清一区二区| 欧美经典三级视频一区二区三区| 欧美色视频一区| 国产成人精品一区二区三区四区 | 日韩电影免费一区| 中文字幕一区二区三区色视频 | 性感美女久久精品| 国产欧美日韩精品一区| 51午夜精品国产| 91在线观看一区二区| 日本欧美加勒比视频| 亚洲区小说区图片区qvod| 精品国产伦一区二区三区观看体验| 成人午夜av在线| 裸体健美xxxx欧美裸体表演| 一区二区三区四区亚洲| 中文字幕高清一区| 日韩欧美亚洲另类制服综合在线| 在线观看国产91| 不卡的电影网站| 国产一区二区三区四区五区入口 | 亚洲欧美激情小说另类| 日韩欧美激情在线| 欧美精品自拍偷拍| 一本久道中文字幕精品亚洲嫩| 国产精品18久久久久久久久| 免费观看在线色综合| 香蕉乱码成人久久天堂爱免费| 中文字幕亚洲视频| 国产精品人妖ts系列视频| 久久久精品国产免大香伊| 日韩欧美一区二区久久婷婷| 欧美一区二区三区日韩| 欧美在线观看一二区| jizz一区二区| 成人免费视频视频在线观看免费 | 国产亚洲va综合人人澡精品 | 亚洲成在人线在线播放| 有坂深雪av一区二区精品| 国产精品久久久久影院色老大 | 亚洲不卡在线观看| 亚洲一卡二卡三卡四卡无卡久久| 国产精品久久久久影院色老大| 国产片一区二区| 国产偷国产偷亚洲高清人白洁| 精品少妇一区二区三区视频免付费| 91精品国产全国免费观看| 欧美久久久久久久久中文字幕| 欧美日韩精品一区二区| 欧美丝袜丝交足nylons| 欧美日韩精品福利| 欧美日韩三级一区二区| 在线播放国产精品二区一二区四区| 欧美色精品天天在线观看视频| 日本道免费精品一区二区三区| 91麻豆产精品久久久久久| 欧美亚一区二区| 欧美日韩dvd在线观看| 欧美日韩一区二区不卡| 欧美一区二区三区视频免费| 精品欧美一区二区久久| 国产欧美日韩在线| 亚洲视频1区2区| 五月天一区二区三区| 免费观看日韩av| 高清在线成人网| 日本久久电影网| 宅男噜噜噜66一区二区66| 亚洲精品一区二区三区香蕉| 国产日韩亚洲欧美综合| 亚洲男人的天堂在线观看| 亚洲成人动漫精品| 国产一区二区三区四区五区美女| 成人深夜在线观看| 欧美日本一道本| 国产精品二三区| 亚洲一区二区三区三| 韩国视频一区二区| 91免费版pro下载短视频| 欧美日韩视频在线一区二区| 亚洲精品在线一区二区| 国产精品九色蝌蚪自拍| 性做久久久久久免费观看欧美| 极品少妇xxxx精品少妇偷拍| 成人激情电影免费在线观看| 欧美精品成人一区二区三区四区| 欧美精品一区二区三区蜜桃 | 亚洲成人av一区| 国产在线播放一区二区三区| 色综合久久久久久久| 精品美女一区二区三区| 一区二区三区不卡视频在线观看| 久久国产麻豆精品| 91麻豆123| 久久亚洲春色中文字幕久久久| 一区二区三区日韩欧美精品| 久久精品国产第一区二区三区| 91免费视频网| 久久精品一区四区| 日日摸夜夜添夜夜添精品视频| 波多野结衣中文字幕一区二区三区| 9191成人精品久久| 亚洲日本va午夜在线影院| 精品一二三四区| 欧美性xxxxxx少妇| 中文在线一区二区| 久久99久久久欧美国产| 欧美日韩在线不卡| 亚洲天堂2016| 国产不卡在线播放| 日韩欧美一区二区免费| 亚洲国产wwwccc36天堂| 一本大道久久精品懂色aⅴ| 2021久久国产精品不只是精品| 午夜激情综合网| 日本福利一区二区| 国产精品成人一区二区三区夜夜夜 | 亚洲少妇中出一区| 国产精品白丝av| 欧美va日韩va| 日产国产欧美视频一区精品| 欧洲精品中文字幕| 亚洲欧美视频在线观看| 成人国产一区二区三区精品| 中文字幕在线播放不卡一区| 国产91富婆露脸刺激对白| 26uuu成人网一区二区三区| 开心九九激情九九欧美日韩精美视频电影 | 色婷婷激情久久| 亚洲免费观看高清完整版在线观看 | 久久综合九色综合欧美亚洲| 久国产精品韩国三级视频| 欧美一卡二卡在线观看| 日本特黄久久久高潮| 欧美福利视频一区| 日韩电影在线一区二区| 717成人午夜免费福利电影| 日韩精品成人一区二区三区| 91精品国产美女浴室洗澡无遮挡| 日韩精品国产欧美| 日韩久久免费av| 国产一区二区久久| 国产无人区一区二区三区| 国产激情偷乱视频一区二区三区| 国产视频在线观看一区二区三区| 国产精品一品二品| 国产精品美女久久久久久久| 93久久精品日日躁夜夜躁欧美| 亚洲视频在线一区| 欧美亚洲禁片免费| 日本一区中文字幕| 日韩欧美黄色影院| 国产成人精品综合在线观看| 国产精品久久三区| 欧美性淫爽ww久久久久无| 日本欧美在线观看| 国产日韩欧美精品在线| 91视频国产资源| 日韩影视精彩在线| 久久网站热最新地址| 92精品国产成人观看免费| 亚洲444eee在线观看| www精品美女久久久tv| av动漫一区二区| 视频在线观看91| 国产欧美一区二区在线| 色婷婷综合久久| 久久精品72免费观看| 国产精品久久久久永久免费观看 |