Ericsson / CodeCheckerEclipsePlugin

This is an Eclipse plugin that shows C/C++ static analysis results found by Clang Static Analyzer and Clang Tidy
Eclipse Public License 1.0
32 stars 13 forks source link

Issues with installation of codecheckereclipseplugin #111

Open code-hippo opened 6 years ago

code-hippo commented 6 years ago

I see some of the users are able to successfully use the codechecker for their eclipse project. But I am not able to complete the installation procedure mentioned in the readme.md file.

For the installation, we are asked to copy the file : "cc.codechecker.eclipse.plugin-0.0.1-SNAPSHOT.jar" from the folder : "./eclipse-plugin/eclipse/cc.codechecker.eclipse.plugin/target/" to : the dropins directory of Eclipse.

But I do not see the file in the folder mentioned are anywhere else. Any help is appreciated.

Thanks, Bhargav.

gyorb commented 6 years ago

The mvn package command should build and create the jar file.

You can find a pre built jar file for each release (if you do not want to build it manually): https://github.com/Ericsson/CodeCheckerEclipsePlugin/releases/tag/v0.0.5

Please note, it will not work with the latest CodeChecker release. There were many backward incompatible api changes in CodeChecker since the last eclipse plugin release, but we did not have the time to update the eclipse plugin to use the new api.

code-hippo commented 6 years ago

Thanks for the help @gyorb, I was able to figure that out. As you said, I could not get CodeCheckerEclipsePlugin to work with the latest version of CodeChecker. Anyways, Codechecker with the Webapplication interface did not pose any issues in working. Clang Statistic Analysis is a cool tool to use for cpp code checking. I appreciate the work you are doing.

gyorb commented 5 years ago

We are working on an uplift so the plugin can be used with the latest CodeChecker release #114