如何在Eclipse中找到项目依赖项?eclipse如何构建类路径? [英] How to find project dependencies in eclipse? how eclipse builds the class path?

查看:71
本文介绍了如何在Eclipse中找到项目依赖项?eclipse如何构建类路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个项目,该项目在某种程度上是其他项目间接依赖的.我正在尝试在eclipse中找到依赖项或依赖项图的路径,但找不到方法.

There is a project that in some way other project indirectly depends on. I'm trying to find the path of dependencies or the dependencies graph in eclipse but can't find a way.

有什么办法吗?

推荐答案

右键单击项目,然后选择属性",然后选择"Java构建路径".选项卡项目"和库"列出了项目所依赖的内容.请注意,订购和出口"标签可让您具有间接依赖关系.

Right-click the project, then select "Properties", then "Java Build Path". The tabs "Projects" and "Libraries" list what the project depends on. Note that the "Order and Export" tab alllows you to have indirect dependencies.

这里的所有信息都保存在项目中名为 .classpath 的文件中;如果要在大型工作区中查找特定的依赖项,那么对这些文件进行文本搜索将是最快的解决方案.

All the information here is saved in a file named .classpath in the project; if you want to find specific dependencies in a large workspace, then doing a text search over these files would be the fastest solution.

这篇关于如何在Eclipse中找到项目依赖项?eclipse如何构建类路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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