Techies Experience

Wednesday, March 12, 2014

How to use Jboss Tattletale

Jboss Tattletale :generates reports that will show dependencies and general information and duplication of jar files

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 :

  1. Find dependencies between JAR files
  2. Find missing classes from the classpath
  3. Check for duplicated multiple JAR files
  4. Verify the SerialVersionUID of a class
  5. Jar file details with version numbers
  6. Unused JAR files/ sealed / signed JAR archives
  7. Locate a class in a JAR file
  8. 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


Reports

Archives


Generated by: JBoss Tattletale 1.1.2.Final check each and every link manually you will get respective detail report.

References :

  1. Check Jboss Tattletale Guide @ http://www.jboss.org/tattletale
  2. SVN Repository @ http://anonsvn.jboss.org/repos/tattletale

No comments:

Post a Comment