问题描述
我目前正在重构一个大型 Java 应用程序.我已将一个中心 (Eclipse) 项目拆分为大约 30 个单独的组件",但是它们仍然高度相互依赖.为了更好地了解什么取决于什么,我正在寻找某种方式来绘制编译时依赖性.
到目前为止我发现的所有工具都能够绘制包或类依赖关系或 Eclipse 插件之间的依赖关系,但是我的想法应该只是看看每个 Eclipse 项目的类路径设置并构建一个粗粒度的图形
稍后我会更深入,但现在这只是意味着我无法看到所有树木的森林.
I am currently refactoring a large Java application. I have split up one of the central (Eclipse) projects into about 30 individual "components", however they are still heavily inter-dependent. In order to get a better idea of what depends on what I am looking for some way to graph the compile time dependencies.
All tools I have found so far are capable of graphing package or class dependencies or the dependencies between Eclipse plugins, however what I have in mind should just take a look at the classpath settings for each Eclipse project and build a coarser grained graph from that.
Later I will then go deeper, however right now this would just mean I would not be able to see the forest for all of the trees.
Structure101 is capable of visualizing class and method JAR level dependencies in Jboss 5.
See the screenshot below or view it larger.
这篇关于如何可视化 jar(不是插件)依赖项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!