[forge-issues] [JBoss JIRA] (FORGE-32) FSHParser is too agressive (destroys command input)

George Gastaldi (JIRA) jira-events at lists.jboss.org
Thu Nov 8 11:46:18 EST 2012


     [ https://issues.jboss.org/browse/FORGE-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi closed FORGE-32.
--------------------------------

    Fix Version/s:     (was: 1.1.2.Final)
       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
                
> FSHParser is too agressive (destroys command input)
> ---------------------------------------------------
>
>                 Key: FORGE-32
>                 URL: https://issues.jboss.org/browse/FORGE-32
>             Project: Forge
>          Issue Type: Bug
>          Components: Shell
>    Affects Versions: 1.0.0.Beta2
>            Reporter: Lincoln Baxter III
>            Priority: Critical
>
> FSHParser is breaking up statements that clearly are not scripts:
> [example] Customer.java $ prettyfaces mapping --resource /scaffold/customer/view.xhtml --pattern /customer/#{id} --id viewCustomer
> ***INFO*** The command [mapping] takes [0] unnamed argument(s), but found [1].
> ***INFO*** Swallowed unknown token [{] for command [mapping].
> ***INFO*** Swallowed unknown token [id] for command [mapping].
> ***INFO*** Swallowed unknown token [}] for command [mapping].
> ... etc
> [example] Customer.java $ 

--
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