Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Trouble configuring Author Mapping XML file

sean_dougher Posts: 3

I'm having trouble configuring the Authorship for a project.

I've made an authorship mapping xml file and edited the .properties file as described here

My xml map contains definitions for many authors across multiple files.
I generate a report, but in the report it only lists a single author, defaulted to source control.

I am using a script to run cpptestcli passing in the relevant ,properties file to the -setting option

I am unsure if there's a certain order things need to appear in the .properties file, or if I am missing something that would prevent it from giving me the desired authorship. The relevant properties that I have enabled are


Any help is appreciated,



  • sean_dougher
    sean_dougher Posts: 3

    My mapping.xml file looks something like this, in case it's a problem with the mapping file itself.

    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE authorship>
      <file author="Author 1" path="directory/**" />
      <file author="Author 1" path="**/subdirectory/**" />
      <file author="Author 2" path="**/subdirectory/**" />
      <file author="Author 3" path="directory/**" />
  • sean_dougher
    sean_dougher Posts: 3

    Still having a lot of trouble with this.My reports are displaying a single author, being 'Unknown', and all violations are being attributed to them.

  • [Deleted User]
    [Deleted User] Posts: 0 admin

    Hi Sean, I'll send you information shortly