[forge-dev] [JBoss JIRA] Created: (SEAMFORGE-44) Invalid characters should be stripped out of example name when generating project classes
Shane Bryzak (JIRA)
jira-events at lists.jboss.org
Sun Mar 6 20:19:45 EST 2011
Invalid characters should be stripped out of example name when generating project classes
-----------------------------------------------------------------------------------------
Key: SEAMFORGE-44
URL: https://issues.jboss.org/browse/SEAMFORGE-44
Project: Seam Forge
Issue Type: Bug
Reporter: Shane Bryzak
For example, when generating a project with the following command:
gen errai-cdi gwt-helloworld org.jboss.seam.example.gwt.helloworld
The project name 'gwt-helloworld' is used as a base to generate classes such as Gwt-helloworldService, Gwt-helloworld, etc (both invalid class names in Java). Instead, the dash symbol should be stripped out and the following letter should be capitalized, e.g. GwtHelloworld.
Please note - this issue is possibly specific to the errai-cdi plugin, and not Forge in general.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-dev
mailing list