eclipse添加findbugs plugin 博客分类: web开发学习笔记JAVA开发工具 eclipsefindbugsplugin
程序员文章站
2024-03-20 08:14:52
...
eclipse添加findbug plugin
Eclipse plugin帮助寻找潜在缺陷
参考地址:http://findbugs.cs.umd.edu/eclipse-daily/
Plugin requirements
This plugin has primarily been tested with Eclipse 3.3 and 3.4 It should work with 3.x releases, but let us know if you have any problems. The plugin is not compatible with versions of Eclipse preceding 3.3. The plugin runs under Java 1.5/5.0, or newer.
Plugin installation
If you have previously installed a version of the FindBugs plugin prior to mid-May, 2006, then you should remove it first. Simply remove the de.tobject.findbugs_0.0.n directory from Eclipse's plugins directory.
To install the FindBugs plugin:
In Eclipse, click on Help -> Software Update -> Find and Install...
Choose the Search for new features to install option, and click Next.
Click New Remote Site.
Enter the following:
Name: FindBugs update site
URL: one of the following (note: no final slash on the url)
http://findbugs.cs.umd.edu/eclipse for official releases
http://findbugs.cs.umd.edu/eclipse-candidate for candidate releases and official releases
http://findbugs.cs.umd.edu/eclipse-daily for all releases, including developmental ones
and click OK.
"FindBugs update site" should appear under Sites to include in search.
Click the checkbox next to it to select it, and click Finish.
You should see FindBugs Feature under Select features to install.
(You may have to click on one or two triangles to make it visible in the tree.)
Select the checkbox next to it and click next.
Select the I accept option to accept the license and click Next.
Make sure the location is correct where you're installing it. The default (your workspace) should be fine. Click Finish.
The plugin is not digitally signed. Go ahead and install it anyway.
Click Yes to make Eclipse restart itself.
Eclipse plugin帮助寻找潜在缺陷
参考地址:http://findbugs.cs.umd.edu/eclipse-daily/
Plugin requirements
This plugin has primarily been tested with Eclipse 3.3 and 3.4 It should work with 3.x releases, but let us know if you have any problems. The plugin is not compatible with versions of Eclipse preceding 3.3. The plugin runs under Java 1.5/5.0, or newer.
Plugin installation
If you have previously installed a version of the FindBugs plugin prior to mid-May, 2006, then you should remove it first. Simply remove the de.tobject.findbugs_0.0.n directory from Eclipse's plugins directory.
To install the FindBugs plugin:
In Eclipse, click on Help -> Software Update -> Find and Install...
Choose the Search for new features to install option, and click Next.
Click New Remote Site.
Enter the following:
Name: FindBugs update site
URL: one of the following (note: no final slash on the url)
http://findbugs.cs.umd.edu/eclipse for official releases
http://findbugs.cs.umd.edu/eclipse-candidate for candidate releases and official releases
http://findbugs.cs.umd.edu/eclipse-daily for all releases, including developmental ones
and click OK.
"FindBugs update site" should appear under Sites to include in search.
Click the checkbox next to it to select it, and click Finish.
You should see FindBugs Feature under Select features to install.
(You may have to click on one or two triangles to make it visible in the tree.)
Select the checkbox next to it and click next.
Select the I accept option to accept the license and click Next.
Make sure the location is correct where you're installing it. The default (your workspace) should be fine. Click Finish.
The plugin is not digitally signed. Go ahead and install it anyway.
Click Yes to make Eclipse restart itself.