Posted on 2012-06-13 16:13
Milo的海域 阅读(706)
评论(0) 编辑 收藏 所属分类:
Java 、
Skills
JBoss Tattletale is a tool that can help you get an overview of the project you are working on
or a product that you depend on.
The tool will provide you with reports that can help you
* Identify dependencies between JAR files
* Find missing classes from the classpath
* Spot if a class/package is located in multiple JAR files
* Spot if the same JAR file is located in multiple locations
* With a list of what each JAR file requires and provides
* Verify the SerialVersionUID of a class
* Find similar JAR files that have different version numbers
* Find JAR files without a version number
* Find unused JAR files
* Identify sealed / signed JAR archives
* Locate a class in a JAR file
* Get the OSGi status of your project
使用方法
java -Xmx512m -jar tattletale.jar [-exclude=<excludes>] <scan-directory> [output-directory]
注意事项
tattletale只分析jar包之间的依赖,需要自己把所有的class文件打包放入scan-directory,然后把依赖的lib也放入同个目录