...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
#PARSER PQL ... |
Remark: It is important to define the right parser as Odysseus cannot determine the parser based on the query text!
Comments
Comments mark lines that should be ignored by the parser. Useful for additional information for the reader. Comments are defined by using three slashes per line. Currently, there is no way to comment multiple lines at once.
...
Symbol | Value |
---|---|
NOW | Current timestamp |
WORKSPACE* | The absolute path to the workspace |
PROJECT* | The project name |
PROJECTPATH* | The absolute path to the project |
BUNDLE-ROOT | same as PROJECPATH but can additionally be used in tests and Autostart |
WORKSPACEPROJECT* | The absolute path to the workspace extended by the project name |
ROOT* | The absolute path to the current file |
OS.ARCH | The operating system architecture |
OS.VERSION | The operating system version |
OS.NAME | The operating system name |
CPU | The amount of available processors |
MEM | The total amount of memory |
VM.NAME | The name of the Java VM |
VM.VENDOR | The vendor of the Java VM |
VM.VERSION | The version of the Java VM |
...
Additionally, system properties provided by / environment variables provided by System.getProperty(...) and System.getPropertygetenv(...)
are also available. To avoid nameing naming collisions, each system property has "_" as prefix. Example: ${_user.name} will be replaced with the current system user name (NOT the username in Odysseus).
...