Constructor (string, string)

Initialises a new instance of the RunnerProject class for a specified variant in a given project.

Type: RunnerProject

Namespace: XJTAG.Integration.XJRunner

Syntax

public RunnerProject(string path, string variantName)

Parameters

path

Type: string

The path to the existing XJTAG project, which must be an .xjd, .xjp or .xje project file.

variantName

Type: string

The name of the variant to open within the project.

Exceptions

System.ArgumentException

path contains invalid characters.

System.ArgumentNullException

path is null.

ProjectException

The project was unable to be opened or it contains errors.

Remarks

If the given path refers to an XJPack file (i.e. an .xjp file), an XJRunner licence is required; if it refers to an XJDeveloper project (i.e. an .xjd or .xje file) then XJEase and XJRunner licences are required.