You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@hop.apache.org by Phillip Brown <ph...@gmail.com> on 2023/10/26 03:18:40 UTC
"properties file" format in 'Set Variables' action
In the 'Set Variables' action there is a 'Properties File' option,
presumably to read the variables from that file and set the values.
What format does that file take? And how would 'Variable Substitution'
work in this action? The documentation is not especially helpful in this
respect.
Regards
Phil Brown.
Re: "properties file" format in 'Set Variables' action
Posted by Bart Maertens <ba...@know.bi>.
Hi Phil,
The "properties file" option refers to a Java properties file, like the
ones you can read with a Properties File Input transform [1].
Properties are quite common in Java applications and are basically a list
of "=" separated key/value pairs.
Check for example the wikipedia-page [2] on properties files.
Thanks for pointing this out, there is room for improvement in the
documentation page for the set variables action.
Ticket [3] created, we'll see if we can still squeeze this in with the
upcoming 2.7.0 release.
[1]
https://hop.apache.org//manual/latest/pipeline/transforms/propertyinput.html
[2] https://en.wikipedia.org/wiki/.properties
[3] https://github.com/apache/hop/issues/3321
Regards,
Bart
On Thu, Oct 26, 2023 at 5:18 AM Phillip Brown <ph...@gmail.com>
wrote:
> In the 'Set Variables' action there is a 'Properties File' option,
> presumably to read the variables from that file and set the values.
>
> What format does that file take? And how would 'Variable Substitution'
> work in this action? The documentation is not especially helpful in this
> respect.
>
> Regards
>
> Phil Brown.
>
>