How to find out a file's abs source path from the findbugs report

View: New views
1 Messages — Rating Filter:   Alert me  

How to find out a file's abs source path from the findbugs report

by Wen Liu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

We need to get a file's abs path from the findbugs report(xml format).

We used to concated the value of sourcepath subelement of the SourceLine and the value of SrcDir to make a full path.

However now we encounter some projects which have multiple SrcDirs, and we need to figure out which file comes from which SrcDir or let findbugs report display a file's abs path directly instead of showing the pacakge name

Any suggestions or comments are very appreciated!