查找eclipse项目中使用的未使用的jar [英] Finding unused jars used in an eclipse project

查看:213
本文介绍了查找eclipse项目中使用的未使用的jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何插件/工具可以通过eclipse项目(或工作区)的类路径,并突出显示任何未使用的jar?

解决方案

ClassPathHelper 是一个很好的开始。



它自动识别孤儿罐等等。



唯一的限制是在类中没有定义的依赖关系,例如在依赖注入框架配置文件中。



您还有其他选项/补充,例如:




  • workfrogRelief,它依赖于处理能力通过检查它们的空间形状,大小或相对位置的真实对象,它给出了java包,类型和字段及其关系的物理视图,使其更易于处理。

  • <一个href =http://www.ucdetector.org/ =noreferrer>不必要的代码检测器:一个eclipse插件工具来查找不必要的(死)的公共Java代码。


Are there any plugins/tools available to go through the classpath of an eclipse project (or workspace) and highlight any unused jars?

解决方案

ClassPathHelper is a good start.

It automatically identifies orphan jars and much more.

The only limitation is with dependencies that are not defined in classes, e.g. in dependency injection framework configuration files.

You also have other options/complements, such as:

  • workingfrog "Relief", which relies on the ability to deal with real objects by examining their shape, size or relative place in space it gives a "physical" view on java packages, types and fields and their relationships, making them easier to handle.
  • Unnecessary Code Detector: a eclipse PlugIn tool to find unnecessary (dead) public java code.

这篇关于查找eclipse项目中使用的未使用的jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆