Index: doc/manual/eclipse.html |
diff --git a/doc/manual/eclipse.html b/doc/manual/eclipse.html |
index 872a1313d0e0e09dda69f1aba244a25c14aba7cb..844e9fa027d8d06f9d1eae80a3ab54ebec19cd61 100644 |
--- a/doc/manual/eclipse.html |
+++ b/doc/manual/eclipse.html |
@@ -1,17 +1,17 @@ |
<html><head> |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
- <title>Chapter 7. Using the FindBugs™ Eclipse plugin</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="FindBugs™ Manual"><link rel="up" href="index.html" title="FindBugs™ Manual"><link rel="prev" href="anttask.html" title="Chapter 6. Using the FindBugs™ Ant task"><link rel="next" href="filter.html" title="Chapter 8. Filter Files"></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 7. Using the <span class="application">FindBugs</span>™ Eclipse plugin</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="anttask.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="filter.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter 7. Using the FindBugs™ Eclipse plugin"><div class="titlepage"><div><div><h2 class="title"><a name="eclipse"></a>Chapter 7. Using the <span class="application">FindBugs</span>™ Eclipse plugin</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="eclipse.html#d0e1704">1. Requirements</a></span></dt><dt><span class="sect1"><a href="eclipse.html#d0e1712">2. Installation</a></span></dt><dt><span class="sect1"><a href="eclipse.html#d0e1759">3. Using the Plugin</a></span></dt><dt><span class="sect1"><a href="eclipse.html#d0e1790">4. Extending the Eclipse Plugin (since 2.0.0)</a></span></dt><dt><span class="sect1"><a href="eclipse.html#d0e1843">5. Troubleshooting</a></span></dt></dl></div><p> |
+ <title>Chapter 7. Using the FindBugs™ Eclipse plugin</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="FindBugs™ Manual"><link rel="up" href="index.html" title="FindBugs™ Manual"><link rel="prev" href="anttask.html" title="Chapter 6. Using the FindBugs™ Ant task"><link rel="next" href="filter.html" title="Chapter 8. Filter Files"></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 7. Using the <span class="application">FindBugs</span>™ Eclipse plugin</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="anttask.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="filter.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="eclipse"></a>Chapter 7. Using the <span class="application">FindBugs</span>™ Eclipse plugin</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="eclipse.html#d0e1711">1. Requirements</a></span></dt><dt><span class="sect1"><a href="eclipse.html#d0e1719">2. Installation</a></span></dt><dt><span class="sect1"><a href="eclipse.html#d0e1766">3. Using the Plugin</a></span></dt><dt><span class="sect1"><a href="eclipse.html#d0e1797">4. Extending the Eclipse Plugin (since 2.0.0)</a></span></dt><dt><span class="sect1"><a href="eclipse.html#d0e1850">5. Troubleshooting</a></span></dt></dl></div><p> |
The FindBugs Eclipse plugin allows <span class="application">FindBugs</span> to be used within |
the <a class="ulink" href="http://www.eclipse.org/" target="_top">Eclipse</a> IDE. |
The FindBugs Eclipse plugin was generously contributed by Peter Friese. |
Phil Crosby and Andrey Loskutov contributed major improvements |
to the plugin. |
-</p><div class="sect1" title="1. Requirements"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1704"></a>1. Requirements</h2></div></div></div><p> |
+</p><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1711"></a>1. Requirements</h2></div></div></div><p> |
To use the <span class="application">FindBugs</span> Plugin for Eclipse, you need Eclipse 3.3 or later, |
and JRE/JDK 1.5 or later. |
-</p></div><div class="sect1" title="2. Installation"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1712"></a>2. Installation</h2></div></div></div><p> |
+</p></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1719"></a>2. Installation</h2></div></div></div><p> |
We provide update sites that allow you to automatically install FindBugs into Eclipse and also query and install updates. |
- There are three different update sites</p><div class="variablelist" title="FindBugs Eclipse update sites"><p class="title"><b>FindBugs Eclipse update sites</b></p><dl><dt><span class="term"><a class="ulink" href="http://findbugs.cs.umd.edu/eclipse/" target="_top">http://findbugs.cs.umd.edu/eclipse/</a></span></dt><dd><p> |
+ There are three different update sites</p><div class="variablelist"><p class="title"><b>FindBugs Eclipse update sites</b></p><dl class="variablelist"><dt><span class="term"><a class="ulink" href="http://findbugs.cs.umd.edu/eclipse/" target="_top">http://findbugs.cs.umd.edu/eclipse/</a></span></dt><dd><p> |
Only provides official releases of FindBugs. |
</p></dd><dt><span class="term"><a class="ulink" href="http://findbugs.cs.umd.edu/eclipse-candidate/" target="_top">http://findbugs.cs.umd.edu/eclipse-candidate/</a></span></dt><dd><p> |
Provides official releases and release candidates of FindBugs. |
@@ -19,16 +19,16 @@ and JRE/JDK 1.5 or later. |
Provides the daily build of FindBugs. No testing other than that it compiles. |
</p></dd></dl></div><p>You can also manually |
download the plugin from the following link: |
-<a class="ulink" href="http://prdownloads.sourceforge.net/findbugs/edu.umd.cs.findbugs.plugin.eclipse_3.0.0.20140706.zip?download" target="_top">http://prdownloads.sourceforge.net/findbugs/edu.umd.cs.findbugs.plugin.eclipse_3.0.0.20140706.zip?download</a>. |
+<a class="ulink" href="http://prdownloads.sourceforge.net/findbugs/edu.umd.cs.findbugs.plugin.eclipse_3.0.1.20150306.zip?download" target="_top">http://prdownloads.sourceforge.net/findbugs/edu.umd.cs.findbugs.plugin.eclipse_3.0.1.20150306.zip?download</a>. |
Extract it in Eclipse's "plugins" subdirectory. |
-(So <eclipse_install_dir>/plugins/edu.umd.cs.findbugs.plugin.eclipse_3.0.0.20140706/findbugs.png |
+(So <eclipse_install_dir>/plugins/edu.umd.cs.findbugs.plugin.eclipse_3.0.1.20150306/findbugs.png |
should be the path to the <span class="application">FindBugs</span> logo.) |
</p><p> |
Once the plugin is extracted, start Eclipse and choose |
<span class="guimenu">Help</span> → <span class="guimenuitem">About Eclipse Platform</span> → <span class="guimenuitem">Plug-in Details</span>. |
You should find a plugin called "FindBugs Plug-in" provided by "FindBugs Project". |
-</p></div><div class="sect1" title="3. Using the Plugin"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1759"></a>3. Using the Plugin</h2></div></div></div><p> |
+</p></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1766"></a>3. Using the Plugin</h2></div></div></div><p> |
To get started, right click on a Java project in Package Explorer, |
and select the option labeled "Find Bugs". |
<span class="application">FindBugs</span> will run, and problem markers (displayed in source |
@@ -45,7 +45,7 @@ can now right click the archive node in Package Explorer and select the option l |
You may customize how <span class="application">FindBugs</span> runs by opening the Properties |
dialog for a Java project, and choosing the "Findbugs" property page. |
Options you may choose include: |
-</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> |
+</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p> |
Enable or disable the "Run FindBugs Automatically" checkbox. |
When enabled, FindBugs will run every time you modify a Java class |
within the project. |
@@ -59,11 +59,11 @@ Options you may choose include: |
</p></li><li class="listitem"><p> |
Select detectors. The table allows you to select which detectors |
you want to enable for your project. |
- </p></li></ul></div></div><div class="sect1" title="4. Extending the Eclipse Plugin (since 2.0.0)"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1790"></a>4. Extending the Eclipse Plugin (since 2.0.0)</h2></div></div></div><p> |
+ </p></li></ul></div></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1797"></a>4. Extending the Eclipse Plugin (since 2.0.0)</h2></div></div></div><p> |
Eclipse plugin supports contribution of custom <span class="application">FindBugs</span> detectors (see also |
<a class="ulink" href="http://code.google.com/p/findbugs/source/browse/findbugs/src/doc/AddingDetectors.txt" target="_top">AddingDetectors.txt</a> |
for more information). There are two ways to contribute custom plugins to the Eclipse: |
-</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> |
+</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p> |
Existing standard <span class="application">FindBugs</span> detector packages can be configured via |
<span class="guimenu">Window</span> → <span class="guimenuitem">Preferences</span> → <span class="guimenuitem">Java</span> → <span class="guimenuitem">FindBugs</span> → <span class="guimenuitem">Misc. Settings</span> → <span class="guimenuitem">Custom Detectors</span>. |
Simply specify there locations of any additional plugin libraries. |
@@ -92,9 +92,9 @@ for more information). There are two ways to contribute custom plugins to the Ec |
classpath at runtime with required third party libraries (see |
<a class="ulink" href="http://code.google.com/p/findbugs/source/browse/findbugs/src/doc/AddingDetectors.txt" target="_top">AddingDetectors.txt</a> |
for more information). |
- </p></li></ul></div></div><div class="sect1" title="5. Troubleshooting"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1843"></a>5. Troubleshooting</h2></div></div></div><p> |
+ </p></li></ul></div></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1850"></a>5. Troubleshooting</h2></div></div></div><p> |
This section lists common problems with the plugin and (if known) how to resolve them. |
-</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> |
+</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p> |
If you see OutOfMemory error dialogs after starting <span class="application">FindBugs</span> analysis in Eclipse, |
please increase JVM available memory: change eclipse.ini and add the lines below |
to the end of the file: |