[forge-dev] [JBoss JIRA] Commented: (SEAMFORGE-167) Disallow keywords from package names

Tim Pedone (JIRA) jira-events at lists.jboss.org
Mon May 30 22:26:00 EDT 2011


    [ https://issues.jboss.org/browse/SEAMFORGE-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605371#comment-12605371 ] 

Tim Pedone commented on SEAMFORGE-167:
--------------------------------------

Any thoughts on how to do this?  There's a JavaConventions class in the Eclipse code that does this and more but it seems to require a valid Eclipse workspace.  That seems a bit heavy weight just to get the validation.  Another option would be to try and compile the code but again, that seems to heavy weight.

We could clone the JavaConventions code and use what we can.  There's a fair bit of work involved but it would give us validation for other Java constructs as well.

Finally, we could punt and just do some simple regex validation.

> Disallow keywords from package names
> ------------------------------------
>
>                 Key: SEAMFORGE-167
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-167
>             Project: Seam Forge
>          Issue Type: Feature Request
>          Components: Parsers / File Manipulation
>    Affects Versions: 1.0.0.Alpha3, 1.0.0.Alpha4
>            Reporter: Rodney Russ
>
> When creating a new project and setting the package name up through the --topLevelPackage argument, the package cannot contain keywords like "com.package".  See comments in SEAMFORGE-166 for an example stacktrace.

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