Skip to content

Path to compilation log is wrong #203

@sstickel

Description

@sstickel

Hi,

I am facing an issue here. Installed CodeChecker on Friday, working as intended on bash. Then I installed the Eclipse plugin but there seems to be something wrong.

The project is a c++ project using cmake4eclipse. Builds go into $projectdir/build/Debug, here also a file called compile_commands.json is created and published.

But when I look at the command which is builtin CodeChecker properties theses paths do not match:

(command stripped)
CodeChecker analyze -j 4 -n javarunner -o (...)/workspace_eclipse_2020-06/.codechecker/($projectname)/results (...)/workspace_eclipse_2020-06/.codechecker/($projectname)/compilation_commands.json.javarunner

Neither path nor file name match. When I edit this command to hold the correct file path $projectfolder/build/Debug/compile_commands.json it runs as expected.

Is this a problem of the combination of cmake4eclipse and CodeCheckerEclipsePlugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions