Classpath Checker Eclipse Plugin v1.4.3

Classpath Checker Eclipse Plugin v1.4.3

Description

  1. The Classpath Checker eclipse plugin detects classpath inconsistencies in Java projects.

    That means it is able to:
  2. Detect if a jar file is missing in your classpath. In case a class in your classpath depends on other classes that are not present in the classpath, the plugin warns you and gives you the missing class names.
  3. Detect if you have some duplicated classes in all your jar files. In case of duplicated classes, this plugin warns you. If there are version conflicts in the duplicated classes, it helps you to determine which is the wrong Jar to remove from your classpath.

Why do I need this plugin?

As you know, current java projects depend of more and more external libraries, and 3rd party products. Obviously, each 3rd party product embeds its own libraries, consequently it becomes very difficult to be sure there are no classpath problems in the application. One terrible behavior is when the libraries order becomes important in the classpath! That's why Classpath Checker can help you.

Installation

  1. This plugin has been tested on Eclipse 3.3.0 (Europa) only.

    To install the Classpath Checker plugin:
    Click here if you have the version (v1.1.0)
  2. In Eclipse, click on Help -> Software Update -> Find and Install...
  3. Choose the Search for new features to install option, and click Next.
  4. Click New Remote Site.
  5. Enter the following: and click OK.
  6. "Classpath Checker" should appear under Sites to include in search
    Click the checkbox next to it to select it, and click Finish.
  7. You should see Classpath Checker under Select features to install
    (You may have to click on one or two triangles to make it visible in the tree.) 
    Select the checkbox next to it and click next.
  8. Select the I accept option to accept the license and click Next.
  9. Make sure the location is correct where you're installing it. The default (your workspace) should be fine. Click Finish.
  10. The plugin is not digitally signed. Go ahead and install it anyway.
  11. Click Yes to make Eclipse restart itself.

How to use it?

After installing the plugin, you have to right click on your java project, then select "Properties".
The following dialog is displayed, select the "Classpath Checker" section, and then check the "Activate classpath checker".

猜你喜欢

转载自xiphiasy.iteye.com/blog/1775354