]
Erich Duda updated WFCORE-3484:
-------------------------------
Summary: Variables can't be set and used inside if/try/for blocks (was: Variables
can't be set and used inside if/try blocks)
Variables can't be set and used inside if/try/for blocks
--------------------------------------------------------
Key: WFCORE-3484
URL:
https://issues.jboss.org/browse/WFCORE-3484
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 4.0.0.Alpha5
Reporter: Erich Duda
Assignee: Jean-Francois Denise
If you try to write the following commands into the CLI you will get an error
{{Unrecognized variable}}.
{code}
[standalone@embedded /] if (outcome != success) of /system-property=test:read-resource
[standalone@embedded /] set foo=bar
[standalone@embedded /] echo $foo
Unrecognized variable foo
{code}