posts - 88, comments - 3, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          項目依賴分析工具

          Posted on 2012-06-13 16:13 Milo的海域 閱讀(718) 評論(0)  編輯  收藏 所屬分類: JavaSkills
          zane昨天推薦個項目依賴分析的工具: http://www.jboss.org/tattletale

          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也放入同個目錄
          主站蜘蛛池模板: 潼关县| 襄城县| 耿马| 岳阳县| 绵竹市| 连州市| 讷河市| 久治县| 安顺市| 富阳市| 专栏| 荔浦县| 襄汾县| 南康市| 田阳县| 元江| 安新县| 厦门市| 清远市| 大英县| 宁夏| 乐陵市| 团风县| 宜章县| 越西县| 高州市| 巨野县| 民和| 新野县| 泰宁县| 西宁市| 临高县| 白城市| 丽江市| 铁岭县| 义马市| 武山县| 青州市| 白朗县| 临夏县| 广宗县|