Skip to content

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

@mistermage

Description

@mistermage

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

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