report_config()

Description:

Read information from the configuration file.

Syntax:

report_config(filePath, funfile)

Note:

This external library function (See External Library Guide) reads information from the configuration file, including the main directory and the path of the reporting tool license file, and loads the license file for authentication.

Parameter:

filePath

A file path, which is either a relative path or an absolute path, or a class path; for a relative path, its base directory is the config directory under esProc installation directory

funfile

The path of the configuration file of a user-defined function, which is either a relative path or an absolute path, or a class path; for a relative path, its base directory is the esProc installation directory

Example:

>report_config("config\\raqsoftConfig.xml")

A relative path

>report_config("D:\\esProc\\config\\raqsoftConfig.xml")

An absolute path

>report_config("config\\raqsoftConfig.xml","config\\customFunctions.properties")

Both filePath and funfile are relative to the main directory

>report_config("config\\raqsoftConfig.xml","customFunctions.properties")

filePath is relative to the main directory but funfile is in the class path