Skip to content

Commit

Permalink
updated system properties/variables information #3943 (#3951)
Browse files Browse the repository at this point in the history
* exclude MDI template from samples IT. #2237

* re-apply ASF header. #2237

* updated system properties/variables information. fixes #3943
  • Loading branch information
bamaer authored May 19, 2024
1 parent 7166a59 commit 9311fd6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions docs/hop-user-manual/modules/ROOT/pages/variables.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -161,20 +161,21 @@ All system properties are variables that are available in all of your currently

System properties get set in the Java Virtual Machine that runs your Apache Hop instance. This means that you should limit yourself to only those variables which are really system specific.

You can define new system properties in the Hop GUI using the system properties editor (using the menu bar or the Hop icon menu):
You can add your own system variables to the ones that come with Apache Hop by default in the `System Variables` tab in the configuration perspective.

image::system-properties-menu.png[The system properties menu in Hop GUI, width="65%"]
image::variables/system-variables.png[The system variables tab in Hop GUI, width="65%"]

These variables will be written to the `hop-config.json` file in your hop installation's `config` folder or in your `{openvar}HOP_CONFIG_FOLDER{closevar}` location.

CAUTION: even though you _can_ manually change the `hop-config.json` or any of the other configuration files, you'll rarely, if ever, need to. Only change `hop-config.json` manually if you know what you're doing.

[source,json]
{
"systemProperties" : {
"MY_SYSTEM_PROPERTY" : "SomeValue"
}
}

CAUTION: even though you _can_ manually change the `hop-config.json` or any of the other configuration files, you'll rarely, if ever, need to. Only change `hop-config.json` manually if you know what you're doing.

You can also use the hop-config command line tool to define system properties:

Expand Down

0 comments on commit 9311fd6

Please sign in to comment.