This topic explains how to set the license.
parasoft.eula.accepted
from 'false' to 'true' in the example below.To license the cpptestcov compute
command, create the cpptestcov.properties
(or cpptestct.properties
) configuration file with the license settings:
# Accept the Parasoft EULA to use this product parasoft.eula.accepted=false # Use local license cpptestct.license.use_network=false cpptestct.license.local.password=<LICENSE> # Use network license - be sure to configure License Server or DTP below cpptestct.license.use_network=true cpptestct.license.network.edition=compliance_edition ## For network license retrieved from License Server: license.network.url=<HOST>:<PORT> license.network.use.specified.server=true ## For network license retrieved from DTP Server: dtp.url=<HOST>:<PORT> dtp.user=<USER> dtp.password=<PASSWORD> |
The cpptestcov.properties
(or cpptestct.properties
) file should be placed in one of the following locations:
cpptestcov
or cpptestct
working directory<INSTALL_DIR>
)-settings
flag:cpptestcov compute -settings /path/to/cpptestcov.properties |
Hints:
cpptestct encodepass
command. An encoded password can be put directly into the settings file (.properties).cpptestct machineid
command.