Acknowledged
CIQQA-4126

Variable expansion in monkey.jungle applies suffix to all paths in list

I just came across a somewhat unexpected behavior in monkey.jungle.

I defined a variable containing multiple directories and then used it in a device-specific sourcePath, appending the device name to the last directory:

sourceTest = source/a;source/b
epix2pro47mm.sourcePath = $(sourceTest)/epix2pro47mm

I expected this to evaluate to:

epix2pro47mm.sourcePath = source/a;source/b/epix2pro47mm

However, the suffix is applied to all directories in the variable, resulting in:

epix2pro47mm.sourcePath = source/a/epix2pro47mm;source/b/epix2pro47mm

If one of those directories does not exist, it produces a warning such as:

WARNING: d:\GitHub\evccg\monkey.jungle:123: Source path 'd:\GitHub\evccg\source\a\epix2pro47mm' cannot be resolved to a valid path.

I am not sure whether this is intended behavior or a bug. If it is intended, it does not seem to be documented, at least I could not find anything about it in the Monkey Jungle documentation.