2019独角兽企业重金招聘Python工程师标准>>>

我们都知道,在Eclipse或MyEclipse中安装插件有两种方式,一种是在线安装,第二种是先下载插件然后在本地安装。

在这里我们先介绍第一种在线安装。

Eclipse上在线安装findbugs(具体步骤如下,就不再赘述)

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.

但是我们使用MyEclipse时,一般都是使用的破解版,所以很多插件都无法在线安装,只能先下载然后再安装。

这里我们介绍第二种方法

MyEclipse8.5 和 Eclipse中安装findbugs插件

1、首先从findbugs网站下载插件:http://findbugs.sourceforge.net/downloads.html

2、将下载回来的zip包解压,findbugs插件和一般的插件不太一样,一般的插件安装包解压后里面一般是包含plugins和 features两个文件夹,我们只需要把这两个文件夹下的jar包或文件夹拷贝到Eclipse或MyEclipse安装路径下对应的plugins和 features文件夹中就OK了。但是findbugs插件压缩包解压后得到文件 夹:edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821 ,将该文件夹拷贝到myeclipse和Eclipse安装目录下plugins目录下。

我的目录结构:

Eclipse:D:\Program Files\eclipse4ee\plugins\edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821

MyEclipse:D:\Program Files\Genuitec\Common\plugins\edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821

3、修改myeclipse和Eclipse安装目录下configuration/org.eclipse.equinox.simpleconfigurator的bundles.info文件,在文件最后添加一行:

Eclipse:edu.umd.cs.findbugs.plugin.eclipse,1.3.9.20090821,plugins/edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821/,4,false

MyEclipse: edu.umd.cs.findbugs.plugin.eclipse,1.3.9.20090821,file:/D:/Program Files/Genuitec/Common/plugins/edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821/,4,false

注:bundles.info文件中添加的格式为     插件包名 , 插件版本号 , 插件安装路径 , 4 , false

如上findbugs插件:

edu.umd.cs.findbugs.plugin.eclipse:插件的压缩包名

1.3.9.20090821:该插件的版本号

plugins/edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821/ :该插件的安装路径,如果插件是一个jar包,则不要最后的/,

例如plugins/org.uddi4j_2.0.5.v200805270300.jar,4,false

,4,false:固定格式

4、重启myeclipse和Eclipse,选中项目,右键会出现一个Find Bugs菜单。至此,findbugs插件安装完毕。

转载于:https://my.oschina.net/u/1582930/blog/381707

在Eclipse或MyEclipse中安装findbugs插件相关推荐

  1. 在Eclipse/MyEclipse中安装spket插件

    Spket ide是强大的工具包为了JavaScript和XML的开发,这个强大的编辑器对JavaScript, XUL/XBLand Yahoo! Widget的开发都有全面的支持 ,例如代码完成, ...

  2. 在MyEclipse中安装SVN插件subclipse以及check out项目

    说明:myeclipse需要单独下载svn插件,而eclipse直接可以在商城下载. 一.下载SVN插件subclipse 下载地址:https://download.csdn.net/downloa ...

  3. eclipse MyEclipse中安装 spket插件 js文件内容字体变小解决方案

    在 eclipse . MyEclipse 中用 Spket 插件打开 js 文件后,发现字体非常小.(在每次重启eclipse时会出现)这个时候你只需要找到 Window->General-& ...

  4. myeclipse中安装svn插件

    1.下载最新的SVN包(我下的是1.0.6版): http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240 2.在你 ...

  5. Eclipse中安装HibernateTools插件

     在Eclipse(Luna)中安装Hibernatetools插件 1.  下载地址:http://tools.jboss.org/downloads/overview.html,该版本为hib ...

  6. SVN工具的使用 和在Eclipse中安装GPD插件:(多步审批流,因此选择使用工作流(JBPM)来实现)...

    前言 重点解说SVN工具的还原版本号. 1.提交svn之前.要先更新文件.假设更新之后有版本号冲突的话.就线下解决掉冲突,在把该文件标记为已经解决冲突. 正文 使用SVN还原历史版本号 去除掉Ecli ...

  7. 在eclipse中安装properties插件PropertiesEditor及设置(附图),ASCII码转换成中文

    在eclipse中安装properties插件PropertiesEditor及设置(附图),ASCII码转换成中文 安装成功后ASCII还是不能转换成中文的,原因是设置里面没有把编码设置为utf8的 ...

  8. Eclipse中安装TestNG插件

    Eclipse中安装TestNG插件 HelpàInstall new Software Work with:填入http://beust.com/eclipse 点击Add Name:TestNG ...

  9. 怎么在eclipse中安装properties插件使其显示中文

    在eclipse中编写properties文件时,如果直接写中文,它不会自动转换成ASCII编码,在浏览器中就会显示为乱码怎么在eclipse中安装properties插件. 1.首先,在eclips ...

最新文章

  1. C 语言编程 — 静态库、动态库和共享库
  2. java中线程切换的开销
  3. css实现倒8字效果
  4. Spring.NET 学习总结
  5. gis影像格式img转为ecw_微图影像地图导出拼接大图的参数说明
  6. UVa10410 Tree Reconstruction(bfs+dfs确定二叉树)
  7. C#和C常用的API操作窗口的代码积累
  8. EJB的超时策略:它们如何提供帮助?
  9. 最长回文子串 C++
  10. Spring 容器:三种方式解决 Resource leak: ‘applicationContext‘ is never closed 问题
  11. html怎么设置锯齿边框样式,CSS3实现边框锯齿效果
  12. Spring 入门程序
  13. Apache Commons Pool试用小记
  14. socket 怎么设置心跳判断连接
  15. paip.python ide eric5-5.3.7 安装以及建立项目使用 最佳实践
  16. 关于Linux系统之VM安装配置(每一个步骤都超级详细的哦!)
  17. Flash 短片轻松学
  18. 基于 Flutter 的 Web 渲染引擎「北海」正式开源!
  19. 逻辑回归(神经网络Sigmod激活函数,计量logit模型)
  20. Educoder中Spark算子--java版本

热门文章

  1. c++ssh连接_一步步使SSH连接您的github仓库
  2. android标题栏添加按钮_改善Android布局性能
  3. 虚拟机访问svn服务器超时_SVN卡顿原因及简单修复方法
  4. vue实例没有挂载到html上,vue 源码学习 - 实例挂载
  5. Java项目:成绩管理系统(前后端分离+java+vue+Springboot+ssm+mysql+maven+redis)
  6. 两个下拉框相关联ajax,触发第二个下拉框以显示基于从第一个下拉框中选择的值的值ajax...
  7. 河科大c语言上机实验答案,2016年河南科技学院信息工程学院C语言上机编程考研复试题库...
  8. 极小连通子图和极大连通子图_强连通分量与拓扑排序
  9. 【java】关于面向对象优点的个人理解
  10. cordova 环境配制和创建插件