Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotbugs fails to run appropriately when space is present in project path #1109

Open
mistermage opened this issue Jan 29, 2024 · 0 comments
Open

Comments

@mistermage
Copy link

mistermage commented Jan 29, 2024

When a project is located in a directory which contains a space:
/c/users/my awesome projects/projectA

SpotbugsRunner will create what appears to be an invalid command line to execute spotbugs. I tweaked the resulting command by applying double quotes around any spot where it was referencing the project path and it appears to have fixed the problem.

If an example demonstrating this is required I can make it happen but since I am finding this while at work I can only provide so much at the moment.

I am currently running:

  • Gradle 8.5
  • Spotbugs Gradle Plugin 6.0.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant