In this section:

configuration.dir.builtin

This setting specifies the path to the directory that contains built-in test configurations.

Acceptable Values

[path]The path to the folder where the built-in test configurations are stored.

Example Usage

configuration.dir.builtin=C:\parasoft\jtest\configs\builtin


configuration.dir.user

This setting specifies the path to the directory that contains user-defined test configurations.

Acceptable Values

[path]The path to the folder where user-defined test configurations are stored.

Example Usage

configuration.dir.user=C:\parasoft\jtest\configs\user


configuration.share.path

This setting allows you to specify the path on the DTP Server share that contains shared test configurations.

Acceptable Values

[path]The path on the DTP Server share.

Example Usage

The following configurationĀ specifies the path to the shared configurations stored in the all folder on the DTP Server share:

configuration.share.path=configs\all



jtest.custom.rules.dir

This setting specifies the location of user-defined coding standard rules.

Acceptable Values

[path]The path to the directory that contains user-defined coding standard rules. The default is [INSTALL_DIR]/rules/user.

Example Usage

jtest.custom.rule.dir=C:\parasoft\custom_rules



jtest.configuration

This setting allows you to specify the test configuration that will be used for analysis if the -config option is not specified (see Configuring Test Configurations for details).

Acceptable Values

[configuration name]The name of a built-in, user-defined or DTP-hosted test configuration.

Example Usage

The following configuration will run the analysis with the Recommended Rules configuration when the -config option is not specified:

jtest.configuration=builtin://Recommended Rules

rules.mappings

This setting allows you to specify which rule mapping is applied to your test configurations. By default, local rule mapping is applied to local test configurations (see Customizing Static Analysis Rules), while DTP-shared rule mapping is applied to test configurations stored in DTP.

Acceptable Values

defaultDefault. Local test configurations are customized with local rule mapping; DTP configurations are customized with DTP rule mapping.
allOne configured rule mapping (local or DTP-shared) is applied to both local and DTP configurations.

Example Usage

Example 1

The following configuration will run the analysis with the local Recommended Rules configuration (when the -config option is not specified). If no rule mapping is available locally, the test configuration will be customized with rule mapping stored in DTP.

jtest.configuration=builtin://Recommended Rules

rules.mappings=all


Example 2

The following configuration will run the analysis with the DTP-shared Recommended Rules configuration (when the -config option is not specified). If no rule mapping is available on DTP, the test configuration will be customized with rule mapping stored locally.

jtest.configuration=dtp://Recommended Rules

rules.mappings=all

Related