Home
Categories
Dictionary
Download
Project Details
Changes Log
What Links Here
How To
Syntax
FAQ
License

Usage in a headless environment



To use the application in a headless environment, you can set the isHeadless command-line property: the errors logs will not be presented as a popup window, but will create a log file if errors are encountered[1]
The file will have the name generationError.log and will be in the parent directory of the output directory
.

To specify it on the command-line:
      java -jar docGenerator.jar -input=wiki/input -output=wiki/output -isHeadless=true
However if the environment is headless, you will even not need to use the isHeadless option, it will be selected automatically.

Logged errors in a headless environment

In a headless environment, if some errors are encountered, the following message will be shown on the command-line:
      Encountered <number of errors> Errors when parsing the Wiki content
         Errors logged in <absolute path of the log file>

Notes

  1. ^ The file will have the name generationError.log and will be in the parent directory of the output directory

See also


Categories: general

docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.