You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But running Spotbugs on the same class, just placed under a directory with spaces in the file name
./spotbugs-4.0.0-SNAPSHOT/bin/spotbugs -textui 'i have spaces in the file name/Test.class'
Produces the following error:
Exception in thread "main" java.io.IOException: No files to analyze could be opened
at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:274)
at edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:394)
at edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1185)
The text was updated successfully, but these errors were encountered:
First, we build the Spotbugs distribution.
If we create an empty class (this bug happens with all classes, this is just for demonstration purposes),
And place its copy under a directory with spaces in the file name,
Then running Spotbugs on the
Test.class
will, unsurprisingly, produce no errors,But running Spotbugs on the same class, just placed under a directory with spaces in the file name
./spotbugs-4.0.0-SNAPSHOT/bin/spotbugs -textui 'i have spaces in the file name/Test.class'
Produces the following error:
The text was updated successfully, but these errors were encountered: