Skip to content

LanguageServerRobot User guide

Mayan Jean edited this page Mar 23, 2018 · 31 revisions

LanguageServerRobot Application (LSR)

The LanguageServerRobot is a Windows console application, which can be launched using the following options.

USAGE

  • TypeCobol.LanguageServerRobot [OPTIONS]

OPTIONS DESCRIPTION:

Options Description
-l, --loglevel=VALUE Logging level (1=Lifecycle, 2=Message, 3=Protocol).
-v, --version Show version
-h, --help Show help
--lf, --logfile=PATH PATH the target log file
-p, --prompt Prompt to start a replay
-r, --robot Robot Client/Server mode.
-c, --client Robot Client/Replay mode.
--ioc Inversion of control.
--script=PATH PATH is the script file to be replayed.
--suite=PATH PATH is the session file to be replayed.
-s, --server=PATH PATH is the server path
--so, --soptions=VALUE Server options
-d, --dir=PATH PATH is the Scripts repository directory
-m, --monitoring Show the monitoring Window
-e, --stoperror Stop a replay at the first error
--init=PATH PATH is the json file for a LSP "initialize" request
--config=PATH PATH the json file for a LSP "workspace/didChangeConfiguration" notification.

Recoring mode

The LSR recording mode is specified using the following options:

Options Description
-r, --robot A Client launching a LSR process can redirect LSR standard Input/Output Stream, that is, it can send Json RPC LSP Messages using its output Stream an receive Json RPC LSP messages from the server using its Input Stream
-s, --server=PATH PATH is the server path, it is the full path name to the server location, the server must be an Operating System executable process.
-d, --dir=PATH PATH is the Scripts repository directory, it is the directory where all sessions files and scripts document files will be stored. The default value for this option is: C:\Users**<user_name>**\AppData\Roaming\LanguageServerRobot\Repository. Here **<user_name>**\ is your user name on your machine
--so, --soptions=VALUE Server options, here Server specific options can be specified as argument.s
-m, --monitoring Show the monitoring Window, The Language Server Robot Monitoring (LSRM) application will be launched and shown.
Clone this wiki locally