[shrinkwrap-issues] [JBoss JIRA] (SHRINKDESC-152) version attribute is not set in the descriptor

Ralf Battenfeld (JIRA) jira-events at lists.jboss.org
Sun Sep 22 03:46:03 EDT 2013


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

Ralf Battenfeld commented on SHRINKDESC-152:
--------------------------------------------

See SHRINKDESC-127 'Fixed values doesn't get applied as constant value'.

We made it possible to create constant values like 'public static final String VERSION = "3.1";' used as a constant value for setting the version. We didn't set it by default.

In order to generate the constants, the XSD must define it as 'fixed'. The WebApp descriptors you refer to, doesn't define the version as 'fixed':

  <xsd:attribute name="version" type="javaee:web-app-versionType" use="required"/>

IMO, this is not a bug but maybe a feature request?
                
> version attribute is not set in the descriptor
> ----------------------------------------------
>
>                 Key: SHRINKDESC-152
>                 URL: https://issues.jboss.org/browse/SHRINKDESC-152
>             Project: ShrinkWrap Descriptors
>          Issue Type: Bug
>          Components: impl-javaee
>            Reporter: George Gastaldi
>            Assignee: Ralf Battenfeld
>
> Some descriptors are being generated without the version attribute (webapp30, webapp25), causing validation errors.

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