[
https://issues.jboss.org/browse/FORGE-32?page=com.atlassian.jira.plugin.s...
]
Lincoln Baxter III commented on FORGE-32:
-----------------------------------------
I believe it works if you quote the option, but in this case does it really make sense to
force this kind of behavior?
In bash, we see behavior like this works just fine:
{code}
sharkbook:core lbaxter$ echo foo#{bar}hey
foo#{bar}hey
sharkbook:core lbaxter$
{code}
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
Fix For: 1.0.7.Final
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