Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-41

FSH parser interprets '=' and '@' as an MVEL commands, cannot be used in normal commands without "quoting it"

      $ alias foo=echo foo

      causes MVEL exception "alias cannot be resolved."

      works with quotes, however

      $ alias "foo=echo foo"

            [FORGE-41] FSH parser interprets '=' and '@' as an MVEL commands, cannot be used in normal commands without "quoting it"

            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

            George Gastaldi added a comment - 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

            Lincoln Baxter III (Inactive) added a comment - See @Ignored tests: https://github.com/forge/core/blob/master/shell/src/test/java/org/jboss/forge/shell/test/fsh/FSHBasicTests.java

              Unassigned Unassigned
              lincolnthree Lincoln Baxter III (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: