Setting up a license.dat file

Coverity Documentation

Version
latest

To set up default licensing:

  1. Obtain a license file from Coverity - for that, open a Support case by logging in to the Black Duck Community site.
  2. Verify that the license file is named license.dat. If it is not, rename it to license.dat.
  3. Copy the license file to the <install_dir>/bin directory.
    Note: A missing license leads to a fatal No license found error when you attempt to analyze your code.

    On some Windows platforms, you might need to use administrative privileges when you copy the Coverity license to <install_dir>/bin. Due to file virtualization in some versions of Windows, it might look like license.dat is in <install_dir>/bin when it is not.

    Typically, you can set the administrative permission through an option in the right-click menu of the executable for the command interpreter (for example, Cmd.exe or Cygwin) or Windows Explorer.