删除Java项目中不必要的依赖项的工具 [英] Tool to remove unnecessary dependencies in a Java project
问题描述
有没有可以搜索项目中没有引用的库的工具?我想在这个意义上必须有一些东西。
BTW,一个Eclipse插件将会很棒。
编辑:我选择和ClassDep一起去,因为它是唯一有用的建议。但是,我有一些麻烦:请查看这个问题
ClassDep (从Sun,在Jini开发工具包中)将为您执行此操作。
I have a Java project that currently has a lot of JARs in its libraries directory, which are all included in the resulting package when building. I know, however, that some of these libs are never referenced in the project.
Is there a tool that can search for libs that are not referenced within the project? I guess there must be something in that sense.
BTW, an Eclipse plugin would be awesome.
EDIT: I chose to go with ClassDep because it was the only suggestion that worked. However, I'm having some trouble with it: please check this question
ClassDep (from Sun, in the Jini development kit) will do this for you.
这篇关于删除Java项目中不必要的依赖项的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!