[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKDESC-75) Come to naming scheme and refactor

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Tue Aug 23 13:10:17 EDT 2011


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

Andrew Rubinger commented on SHRINKDESC-75:
-------------------------------------------

Packages are bound to schema type to provide isolation.  For consistency, just rename the "spec" packages to be named after the descriptor type.  Then we can also remove the descriptor version from the Class names.

> Come to naming scheme and refactor
> ----------------------------------
>
>                 Key: SHRINKDESC-75
>                 URL: https://issues.jboss.org/browse/SHRINKDESC-75
>             Project: ShrinkWrap Descriptors
>          Issue Type: Sub-task
>            Reporter: Andrew Rubinger
>            Assignee: Andrew Rubinger
>
> Currently we have:
> org.jboss.shrinkwrap.descriptor.api.webapp30.WebApp30Descriptor
> ...which is essentially:
> org.jboss.shrinkwrap.descriptor.api.{descriptorName}{version}.{DescriptorName}{version}Descriptor
> Here we're repeating the descriptor name and version in both the package and class name, probably redundant.  Also, some descriptors live in a package named after the Specification (ie. "cdi10" for "Beans10Descriptor"). 
> Arrive at a consistent scheme and refactor all to match.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list