Skip to content

[Bug]: Hop-config.json does not respect command-line system properties #7174

@jballment

Description

@jballment

Apache Hop version?

2.16.0

Java version?

OpenJDK Runtime Environment (build 17+35-2724)

Operating system

Windows

What happened?

Hop-config.json does not respect command-line system properties e.g.

hop-config.json contains:
{
"variables" : [
{
"name" : "MY_TEST",
"value" : "0",
"description" : "My test value"
},

At the command-line (Windows PowerShell) I set:
$Env:HOP_OPTIONS="-Xmx2048m -DMY_TEST=1 -DMY_TEST_2=2"
hop-gui.bat

If I run a simple pipeline to resolve ${MY_TEST) and ${MY_TEST_2}, MY_TEST will equal 0 and MY_TEST_2 will equal 2.

Issue Priority

Priority: 3

Issue Component

Component: CLI

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions