|
Re: Optional Reporter: msg#00009java.findbugs.general
Yes I believe I do need to add a reporter. I am currently working on the Maven 2 Findbugs plugin. We currently have a reporter that we add to give other functionality. I guess you could in some cases use a template or XSL sheet but our report do query Findbugs for information which is not in the reports currently. This would allow extensibility for reporters like we do for plugins. The change would be small. I could add the code and send patch file to implement this feature. I have hesitated because it seems like the code is in a heavy change state. I am looking at the newer codebase (1.1.1) and it looks as though the best way invoke Findbugs from within another java application would be as follows: String[] options; TextUICommandLine commandLine = new TextUICommandLine(); FindBugs findBugs = createEngine(commandLine, options); "set up any other findBugs parameter" try { findBugs.execute( ); } catch (Exception e) { ... exception handling } This would seem to be the best way with the least amount of potential imapct from code refactoring. I am getting hit with it now in the Maven plugin because of refactoring. Am I missing any other way to invoke FindBugs? -- Regards, Garvin LeClaire garvin.leclaire@xxxxxxxxx
On 10/3/06, Brian Cole <tuc@xxxxxxxxxx> wrote: howdy,
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: re: Findbugs 1.1.1 Eclipse Settings, Norman Gyhra |
|---|---|
| Next by Date: | RE: Analyze only option for ant task, EJ Ciramella |
| Previous by Thread: | re: Optional Reporter, Brian Cole |
| Next by Thread: | RE: Analyze only option for ant task, EJ Ciramella |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |