Skip to content

Conversation

@intjftw
Copy link
Collaborator

@intjftw intjftw commented May 24, 2022

Multiple plugins need to know the absolute path of the CodeCompass binary that is being run, in places where they don't reach argv[0].

@bruntib
Copy link
Collaborator

bruntib commented May 25, 2022

What do plugins need this information for?

@intjftw
Copy link
Collaborator Author

intjftw commented May 26, 2022

What do plugins need this information for?

It's usually that the plugin needs to run another binary on a relative path to the CC binary (e.g. the competence plugin wants to run JPlag, Java and C# plugins need to run their own parser components in their respective languages), and this can't be done if the CC binary is not run from the install directory.

Copy link
Collaborator

@mcserep mcserep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine for me 👍

@mcserep mcserep merged commit 4ff9af1 into Ericsson:master Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants