JBoss Tattletale Introduction
Jboss Tattletale is tool will help you to understand your project structure, dependencies available in your project.
Below mentioned list of activities we can do with the help of Jboss Tattletale :
- Find dependencies between JAR files
- Find missing classes from the classpath
- Check for duplicated multiple JAR files
- Verify the SerialVersionUID of a class
- Jar file details with version numbers
- Unused JAR files/ sealed / signed JAR archives
- Locate a class in a JAR file
- Get the OSGi status of your project
JBoss Tattletale will recursive scan the directory pass as the argument for JAR files and then build the reports as HTML files.
How to use Jboss Tattletale in your project.
Prerequisites to install jboss tattletale is JDK 1.5 or higher version is required.
How to install jboss tattletale
you can download jboss tattletale from site http://www.jboss.org/tattletale/downloads once donwload is complete
you can extract the same using command
unzip jboss-tattletale-1.1.1.GA.zip
or
tar xzf jboss-tattletale-1.1.1.GA.tar.gz
How to Configure tattletale
you can do the tattletale configuration in this file. this file is located under main directory.
Tattletale command to generate analysis Report
java -Xmx512m -jar tattletale.jar [-exclude=<excludes>] <scan-directory> [output-directory]
command used for generating below Report.
java -Xmx512m -jar tattletale.jar /home/ISG/deepak641/Desktop/DESKTOP/MyServers/jboss-5.1.0.GA/
You will get output like this in HTML format.
JBoss Tattletale 1.1.2.Final
Dependencies
- Class Dependants (INFO)
- Class Depends On (INFO)
- Dependants (INFO)
- Depends On (INFO)
- Graphical dependencies (INFO)
- Transitive Dependants (INFO)
- Transitive Depends On (INFO)
- Circular Dependency (ERROR)
Reports
- Class Location (INFO)
- OSGi (INFO)
- Sealed information (INFO)
- Signing information (INFO)
- Eliminate Jar files with different versions (WARNING)
- Invalid version (WARNING)
- Multiple Jar files (WARNING)
- Multiple Jar files (Packages) (WARNING)
- Multiple Locations (WARNING)
- Unused Jar (WARNING)
- Black listed (ERROR)
- No version (ERROR)
Archives
- FastInfoset.jar (INFO)
- KeyManagement.jar (INFO)
- activation.jar (INFO)
- antlr.jar (INFO)
- autonumber-plugin.jar (INFO)
- avalon-framework.jar (INFO)
- bcel.jar (INFO)
- bsf.jar (INFO)
- commons-collections-3.2.jar (INFO)
Generated by: JBoss Tattletale 1.1.2.Final check each and every link manually you will get respective detail report.
References :
- Check Jboss Tattletale Guide @ http://www.jboss.org/tattletale
- SVN Repository @ http://anonsvn.jboss.org/repos/tattletale
No comments:
Post a Comment