问题描述
我正在一个项目上工作,我需要知道我的web项目中包含的jar文件的内容。我正在使用Eclipse juno。但是,Netbeans提供了这些功能来查看jar文件的内容。请建议我如何在eclipse中实现这一点。在项目浏览器中,应该有一些图标看起来像一堆这样的书:
只需扩展一个包含您的依赖项(可能标记为引用的图书馆),您可以照常浏览。
注意:您可能需要指定每个jar的源的位置(右键单击jar>属性> Java源附件)
[image由JBoss社区提供]
I am working on a project where i need to know the contents of jar file included in my web-project. I am using Eclipse juno. However Netbeans provides these features to view the contents of a jar-file. Please suggest me how to achieve this in eclipse.
In the project explorer, you should have something with an icon looking like a pile of book like those:
just expand the one containing your dependencies (probably labelled "Referenced Librairies") and you can browse as usual.
NB: you will probably need to specify where the sources are for each jars (right click on a jar > Properties > Java source attachment)
[image is courtesy of JBoss community]
这篇关于如何查看eclipse或jar-file-explorer中jar文件的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!