[
https://issues.jboss.org/browse/SHRINKDESC-127?page=com.atlassian.jira.pl...
]
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