Environment
oooscript requires an .env file be created in your projects root directory.
Certain build properties can optionally be added to .env file.
${HOME} is allowed in values and will expand to current user home directory.
APP_BUILD_DIR
Path Like structure to build dir
Default:
APP_BUILD_DIR=build_script
Note
If you use a .gitignore file then this path should be include in the .gitignore file.
BUILD_INCLUDE_PATHS
Extra module include paths that is used to find module that may be included in compiled scripts.
Default:
BUILD_INCLUDE_PATHS=.
These values are in addition to include_paths value of Configuration.
In most all cases this value should be managed via include_paths and not changed in .env.
BUILD_EXCLUDE_MODULES
Extra modules to remove from compiled scripts.
Default:
BUILD_EXCLUDE_MODULES=uno\.*,unohelper\.*,scriptforge\.*,access2base\.*
These value are in addition to exclude_modules value of Configuration.
In most all cases this value should be managed via exclude_modules and not changed in .env.
LO_SCRIPT_DIR
Path Like structure to libre office scripts director.
Default:
LO_SCRIPT_DIR=$(HOME)/.config/libreoffice/4/user
Example for LibreOffice as snap
LO_SCRIPT_DIR=${HOME}/snap/libreoffice/current/.config/libreoffice/4/user
XML_MANIFEST_NAMESPACE
Manifest name in LibreOffice xml. Likely this value will never need changing.
Default:
XML_MANIFEST_NAMESPACE=urn:oasis:names:tc:opendocument:xmlns:manifest:1.0