cittools/klocwork-plugin — pull request #10 by jacoblarfors (2012-10-16 13:12:49+00:00)
Title: FIXED - kwbuildproject options were being added before kwbuildproject executable

Hi,

I received a bug report that the kwbuildproject options were being added before the kwbuildproject executable.
Furthermore, the paths in KlocworkParserTest.java seemed to be incorrect. I changed the method for retrieving the input xml file from using

Class thisClass = this.getClass();
URL url = thisClass.getResource(file); // returns null....
URI uri = url.toURI();
File reportFile = new File(uri);

to simply

File reportFile = new File(file);

I could not determine if has any side affects, but works for me.

Thanks,
Jacob