It's all about the answers!

Ask a question

Force Static Analysis on Deliver for java projects in RTC


Monika Gupta (15279) | asked Feb 12 '14, 2:15 a.m.

There is pre-condition available to force static code analysis for .net project, but how to acheive the same for java projects.

I would like to use tools like  FindBugs,PMD etc. to do the static code analysis and force the same on Deiver operation, can someone help how I can achieve the same?

I do not want to use Rational Software analyser.

Thanks

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Feb 19 '14, 2:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Monika,

in order to do that, you would require to write extensions to the RTC Eclipse client. Basically you would need to write a deliver (Client) advisor. This advisor would have to work with the tools you want to be invoked, make sure they were invoked or invoke them and then look at the output of these tools before it allows delivery. We had something like that for the Rational Software analyzer in the past.

This is not an easy task. If you need more details I can provide some links where you can start enabling yourself in writing code like this.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.