Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INTERNAL] Introduce UI5_DATA_DIR env #855

Merged
merged 5 commits into from
Aug 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion docs/pages/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,19 @@ UI5 + Karma:


!!! warning
The combination of the `UI5_LOG_LVL` environment variable with the `--log-level` CLI parameter might lead to unexpected results; they should be used interchangeably but not together. The CLI parameter takes precedence over the `UI5_LOG_LVL` environment variable.
The combination of the `UI5_LOG_LVL` environment variable with the `--log-level` CLI parameter might lead to unexpected results; they should be used interchangeably but not together. The CLI parameter takes precedence over the `UI5_LOG_LVL` environment variable.

### Changing UI5 Tooling's Data Directory

UI5 Tooling's data directory is by default at `~/.ui5`. It's the place where the framework artefacts are stored.
In some cases and environments this is not a convenient location and the user needs to provide a better one. The path to it is provided via the `UI5_DATA_DIR` environment variable.

Example:
d3xter666 marked this conversation as resolved.
Show resolved Hide resolved

Unix-style:

`UI5_DATA_DIR=/my/custom/location/ ui5 build`

On Windows:

`set UI5_DATA_DIR="C:\\my\\custom\\location" ui5 build`