[shrinkwrap-issues] [JBoss JIRA] (SHRINKDESC-127) Fixed values doesn't get applied as constant value

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Mon Nov 12 08:35:18 EST 2012


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

Jesper Pedersen commented on SHRINKDESC-127:
--------------------------------------------

No, why validate against constants / default values ?

It needs to be

{noformat}
private static final VersionType VERSION = VersionType.1_5;

private boolean enabled = true;
{noformat}

                
> Fixed values doesn't get applied as constant value
> --------------------------------------------------
>
>                 Key: SHRINKDESC-127
>                 URL: https://issues.jboss.org/browse/SHRINKDESC-127
>             Project: ShrinkWrap Descriptors
>          Issue Type: Bug
>          Components: metadata-parser
>    Affects Versions: 2.0.0-alpha-3
>            Reporter: Jesper Pedersen
>            Assignee: Ralf Battenfeld
>             Fix For: 2.0.0-alpha-5
>
>
> The following
> {noformat}
>     <xsd:attribute name="version"
> 		   type="j2ee:dewey-versionType"
> 		   fixed="1.5"
> 		   use="required">
> {noformat}
> definition doesn't define "version" as being a constant in the generated code

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the shrinkwrap-issues mailing list