[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1303) New Seam Web Project Wizard: make automatic replacement for chars that aren't allowed to be used in package name

Max Andersen (JIRA) jira-events at lists.jboss.org
Tue Nov 13 10:30:44 EST 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-1303?page=comments#action_12387295 ] 
            
Max Andersen commented on JBIDE-1303:
-------------------------------------

yes + we need to ensure that seamgen does the same magic when it is using the project name in its templates as package names and other scenarioes where the allowed characters are ok.

> New Seam Web Project Wizard: make automatic replacement for chars that aren't allowed to be used in package name
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-1303
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1303
>             Project: JBoss Tools
>          Issue Type: Feature Request
>    Affects Versions: 2.0.0.CR1
>         Environment: Win2k, Red Hat Developer Studio Build id: 1.0.0.CR1, 2007-11-12
>            Reporter: Victor Rubezhny
>            Priority: Minor
>
> Make automatic replacement for chars that can be used in project name but aren't allowed to be used in package name. For example:  '-' (minus) char is valid to be used in project name but not in package name.
> Test Case:
> ---------------
> EXECUTE: Open New Seam Web Project Wizard due to create a project
> EXECUTE: Type in a project name that contains '-' chars, for example: "my-first-seam-project"
> EXECUTE: Press "Next >" button untill the "Seam Facet" wizard page leaving the other fields with their default values.
> ASSERT: See the package names in "Code Generation" facet are fulfiled with correct package names (all the '-' (minus) chars are replaced with a valid char for a package name, for example  by '_'-char): "org.domain.my_first_seam_project.session", "org.domain.my_first_seam_project.entity" and "org.domain.my_first_seam_project.test"
> ASSERT: "Finish" button is enabled and no error messages appear in the title.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list