Environment variables that specify the location of resources and libraries

This chapter describes environment variables that specify the location of different resources and libraries (e.g., Java class files, C extensions, 4gl libraries and message files, etc.).

 

CLASSPATH

Specifies the paths to search for compiled Java class files and packages (used in IMPORT JAVA statements) and paths to Java packages:

CLASSPATH=$CLASSPATH;$LYCIA_DIR\my_java

Possible values and their meaning:

<path to folder>

<path to file>

DBPATH

Determines paths to search for the resource files:

DBPATH=C:\Users\Lycia\workspace\Lycia\test\output
DBPATH=/opt/Lycia/workspace/Lycia/test/output

There are no predefined search paths. The paths given above are mere examples. The current working directory is searched as well as the defined paths.

Possible values and their meaning:

<path to folder>

DBTEMP

Defines the folder to store temporary files created by the runtime system:

DBTEMP=C:\Users\my_user\mytemp
DBTEMP=/usr/my_user/mytemp

Possible values and their meaning:

<path to folder>

FGLIMAGEPATH

Specifies the paths to search for images, Lycia theme files, styles, and scripts used by front end functions:

FGLIMAGEPATH=%FGLIMAGEPATH%;.;C:\Program Files\Querix\Lycia\images
FGLIMAGEPATH=$FGLIMAGEPATH:.:/opt/Querix/Lycia/images (default)

Possible values and their meaning:

<path to folder>

FGLLDPATH

Specifies the paths to search for C extensions and 4gl libraries:

FGLLDPATH=%LYCIA_DIR%\my_4gl_libs;%LYCIA_DIR%\my_4gl_libs
FGLLDPATH=$LYCIA_DIR/my_4gl_libs;$LYCIA_DIR/my_4gl_libs

Possible values and their meaning:

<path to folder>

FGLSOURCEPATH

Specifies the path to the directories with source files for debug in Lycia VS Code Extension:

FGLSOURCEPATH=/lycia/projects

Possible values and their meaning:

{any non-empty STRING}

INCLUDE

Specifies the path to search for the C/C++ header files on Windows OS:

INCLUDE=$LYCIA_DIR\my_c_files;$INCLUDE

Possible values and their meaning:

<path to folder>

LD_LIBRARY_PATH

Specifies the paths to search for shared libraries on UNIX platforms (is obligatory):

LD_LIBRARY_PATH=/opt/Querix/Lycia/lib:/opt/Querix/Common/lib/opt/Querix/Lycia/axis2/lib:$LD_LIBRARY_PATH

Possible values and their meaning:

<path to folder>

LIB

Specifies the paths to search for objects and libraries when linking C/C++ source files:

LIB=$LYCIA_DIR\my_libs;%LIB%

Possible values and their meaning:

<path to folder>

LYCIA_DIR

We do not recommend changing this variable because this might affect Lycia behavior.

Specifies the path to the Lycia installation directory:

LYCIA_DIR=C:\Program Files\Querix\Lycia (default)
LYCIA_DIR=/opt/Querix/Lycia (default)

Possible values and their meaning:

<path to folder>

LYCIA_MSGPATH

Specifies the path to search for 4gl message files:

LYCIA_MSGPATH=%LYCIA_DIR%\msg (default)
LYCIA_MSGPATH=$LYCIA_DIR/msg (default)

Possible values and their meaning:

<path to folder>

PATH

Specifies the paths to search for programs or libraries or binary executable files:

PATH=%LYCIA_DIR%\bin;%LYCIA_DIR%\lib; $PATH
PATH=%LYCIA_DIR%/bin:$PATH

Possible values and their meaning:

<path to folder>

QX_ROOT_OBJECT_CACHE_PATH

Defines the path for the application cache.

Must be set in two places: for the deployment (settings.json) and for the runtime (inet.env).

Configuration in the settings.json file:

...

"lycia.buildOperations: DefaultBuildEnvironment": [

{"name": "QX_ROOT_OBJECT_CACHE_PATH","value": "/opt/Querix/Lycia/progs/program_1/"}

],

...

Configuration in inet.env file:

QX_ROOT_OBJECT_CACHE_PATH=/opt/Querix/Lycia/progs/program_1/

Possible values and their meaning:

<path to folder>

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.