Comments (6)
Yes 3.1 keeps this feature implemented by FindBugs 3.0.
Consider to provide minimal and enough code to reproduce, then someone may help you.
from spotbugs.github.io.
Thank you
Using command line, when I execute this line
java -jar spotbugs.jar -textui
All options I can use are displayed, especially '-excludeBugs '
But when I execute this line
java -jar spotbugs.jar -project project.fbp -excludeBugs project_1.xml
I have this error
java.lang.IllegalArgumentException: Unknown option: -excludeBugs at edu.umd.cs.findbugs.config.CommandLine.parse(CommandLine.java:333) at edu.umd.cs.findbugs.config.CommandLine.parse(CommandLine.java:307) at edu.umd.cs.findbugs.config.CommandLine.parse(CommandLine.java:270) at edu.umd.cs.findbugs.gui2.Driver.main(Driver.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at edu.umd.cs.findbugs.LaunchAppropriateUI.launch(LaunchAppropriateUI.java:114) at edu.umd.cs.findbugs.LaunchAppropriateUI.main(LaunchAppropriateUI.java:198) edu.umd.cs.findbugs.gui2.Driver [options] [project or analysis results file] Options: General FindBugs options: -project <project> analyze given project -home <home directory> specify SpotBugs home directory -pluginList <jar1[;jar2...]> specify list of plugin Jar files to load -effort[:min|less|default|more|max] set analysis effort level -adjustExperimental lower priority of experimental Bug Patterns -workHard ensure analysis effort is at least 'default' -conserveSpace same as -effort:min (for backward compatibility) -f <font size> set font size -clear clear saved GUI settings and exit -priority <thread priority> set analysis thread priority -loadBugs <saved analysis results> load bugs from saved analysis results -d disable docking --nodock disable docking -look[:plastic|gtk|native] set UI look and feel
An idea ? tks
from spotbugs.github.io.
FindBugs/SpotBugs provides several interfaces, and
java -jar spotbugs.jar -textui
This uses CLI, and
java -jar spotbugs.jar -project project.fbp -excludeBugs project_1.xml
This uses GUI. GUI doesn't support -excludeBugs
option, which is CUI original option. To check options supported by GUI, try java -jar spotbugs.jar -gui -help
.
Note that the document about command line parameter is here: http://spotbugs.readthedocs.io/en/latest/running.html#command-line-options
from spotbugs.github.io.
Thank you for your replay.
I don't understand, which command can I use to excudes file bugs xml?
Why I can not do this using eclipse ?
from spotbugs.github.io.
which command can I use to excudes file bugs xml?
No option we have. Check java -jar spotbugs.jar -gui -help
.
Why I can not do this using eclipse ?
Simply speaking, nobody wanted it and nobody implemented it.
For now we need to add filter manually from menu bar in GUI window.
from spotbugs.github.io.
BTW about how many user interface spotbugs provides, please check official document at here:
http://spotbugs.readthedocs.io/en/stable/running.html#choosing-the-user-interface
Your commands uses different user interface, then each of them accepts different option.
This is what confuses you.
from spotbugs.github.io.
Related Issues (8)
- Provide a wiki how to update the new manual HOT 3
- Automatically ship daily builds HOT 4
- Cleanup the repository from obsoleted files
- Add quickstart to the homepage
- More explanation on findbugs vs. spotbugs HOT 2
- NET::ERR_CERT_AUTHORITY_INVALID from spotbugs.readthedocs.io HOT 1
- Use gh-pages branch to host web site
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spotbugs.github.io.