[
https://issues.jboss.org/browse/SEAMFORGE-140?page=com.atlassian.jira.plu...
]
Lincoln Baxter III updated SEAMFORGE-140:
-----------------------------------------
Description:
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 $
was:
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].
***ERROR*** [prettyfaces mapping] Pattern is already mapped by the UrlMapping [
id=viewCustomer, pattern=/customer/#, parentId=, viewId=/scaffold/customer/view.xhtml,
actions=[], outbound=true, parser=null, pathValidators=[], queryParams=[]]
[example] Customer.java $
FSHParser is too agressive (destroys command input)
---------------------------------------------------
Key: SEAMFORGE-140
URL:
https://issues.jboss.org/browse/SEAMFORGE-140
Project: Seam Forge
Issue Type: Bug
Components: Shell
Affects Versions: 1.0.0.Alpha3
Reporter: Lincoln Baxter III
Assignee: Christopher Brock
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.
For more information on JIRA, see:
http://www.atlassian.com/software/jira