[forge-issues] [JBoss JIRA] (FORGE-41) FSH parser interprets '=' and '@' as an MVEL commands, cannot be used in normal commands without "quoting it"
George Gastaldi (JIRA)
jira-events at lists.jboss.org
Wed Nov 7 13:47:18 EST 2012
[ https://issues.jboss.org/browse/FORGE-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Gastaldi closed FORGE-41.
--------------------------------
Resolution: Deferred
We couldn't find a viable way of fixing this in 1.x, since the shell always considers a valid MVEL2 expression. We should change that in 2.0
> FSH parser interprets '=' and '@' as an MVEL commands, cannot be used in normal commands without "quoting it"
> -------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-41
> URL: https://issues.jboss.org/browse/FORGE-41
> Project: Forge
> Issue Type: Bug
> Components: Forge Scripting Language
> Affects Versions: 1.0.0.Beta2
> Reporter: Lincoln Baxter III
> Priority: Critical
> Fix For: 1.1.2.Final
>
>
> {code}$ alias foo=echo foo{code}
> causes MVEL exception "alias cannot be resolved."
> works with quotes, however
> {code}$ alias "foo=echo foo"{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list