Environment Variables Weird Behaviour

Posted by Ivan Atanasov on 27-Sep-2017 07:24

Been playing around with the environment variables section in OpenEdge explorer (ubroker.properties file).

OpenEdge Explorer installed on a unix box and changes to resources are usually done through a browser on a Windows machine.

Added environment variables manually (amending the ubroker.properties file) however the environment variables section in OpenEdge Explorer seems to have sorted (reordered) the variables.


Example (use mkdir to create to following folder structure). 

dir
+-- subdir
¦   +-- sub-dir1
¦   +-- sub-dir2
+-- test-dir
+-- 1
+-- 2
+-- 3

DIR=/dir
SUBDIR=${DIR}/subdir
SUB-DIR1=${SUBDIR}/sub-dir1
SUB-DIR2=${SUBDIR}/sub-dir2
TEST-DIR=${DIR}/test-dir
H-DIR=${TEST-DIR}/1:${TEST-DIR}/2:${TEST-DIR}/3
P-DIR=${SUB-DIR1}:${SUB-DIR2}:${H-DIR}

Inspecting OpenEdge Explorer the following is shown

Broker
Agent
SSL
Messaging
Environment Variables
Environment Variables
 Environment:   SUBDIR=${DIR}/subdir
H-DIR=${TEST-DIR}/1:${TEST-DIR}/2:${TEST-DIR}/3
DIR=/app1/dev/users/iatana/wk/dir
P-DIR=${SUB-DIR1}:${SUB-DIR2}:${H-DIR}
SUB-DIR2=${SUBDIR}/sub-dir2
TEST-DIR=${DIR}/test-dir
SUB-DIR1=${SUBDIR}/sub-dir1


Is this expected behaviour? 

All Replies

This thread is closed