Skip to content

Finding CodeCompass binary path#579

Merged
mcserep merged 1 commit into
Ericsson:masterfrom
intjftw:executable_path
Feb 11, 2023
Merged

Finding CodeCompass binary path#579
mcserep merged 1 commit into
Ericsson:masterfrom
intjftw:executable_path

Conversation

@intjftw

@intjftw intjftw commented May 24, 2022

Copy link
Copy Markdown
Contributor

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

bruntib commented May 25, 2022

Copy link
Copy Markdown
Collaborator

What do plugins need this information for?

@intjftw

intjftw commented May 26, 2022

Copy link
Copy Markdown
Contributor Author

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.

@mcserep mcserep left a comment

Copy link
Copy Markdown
Collaborator

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