[JBoss JIRA] (SHRINKDESC-161) org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
by Ralf Battenfeld (JIRA)
[ https://issues.jboss.org/browse/SHRINKDESC-161?page=com.atlassian.jira.pl... ]
Ralf Battenfeld reassigned SHRINKDESC-161:
------------------------------------------
Assignee: Ralf Battenfeld
> org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
> --------------------------------------------------------------------------------------
>
> Key: SHRINKDESC-161
> URL: https://issues.jboss.org/browse/SHRINKDESC-161
> Project: ShrinkWrap Descriptors
> Issue Type: Bug
> Components: impl-base
> Affects Versions: 2.0.0-alpha-7
> Reporter: Tomas Remes
> Assignee: Ralf Battenfeld
>
> It is not possible to create multiple excludes in beans.xml without this method. The current beans_1_1.xsd seems to be correct. Note that changing xsd to:
> {noformat}
> <xs:element name="exclude" maxOccurs="unbounded">
> {noformat}
> generates the required method. Also note that parent node is <xs:sequence maxOccurs="unbounded" minOccurs="0"> so additional maxOccurs indicator shouldn't be necessary.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (SHRINKDESC-161) org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
by Tomas Remes (JIRA)
[ https://issues.jboss.org/browse/SHRINKDESC-161?page=com.atlassian.jira.pl... ]
Tomas Remes commented on SHRINKDESC-161:
----------------------------------------
No it is not a workaround. <scan> element can only be specified once.
> org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
> --------------------------------------------------------------------------------------
>
> Key: SHRINKDESC-161
> URL: https://issues.jboss.org/browse/SHRINKDESC-161
> Project: ShrinkWrap Descriptors
> Issue Type: Bug
> Components: impl-base
> Affects Versions: 2.0.0-alpha-7
> Reporter: Tomas Remes
>
> It is not possible to create multiple excludes in beans.xml without this method. The current beans_1_1.xsd seems to be correct. Note that changing xsd to:
> {noformat}
> <xs:element name="exclude" maxOccurs="unbounded">
> {noformat}
> generates the required method. Also note that parent node is <xs:sequence maxOccurs="unbounded" minOccurs="0"> so additional maxOccurs indicator shouldn't be necessary.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (SHRINKDESC-161) org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
by Ralf Battenfeld (JIRA)
[ https://issues.jboss.org/browse/SHRINKDESC-161?page=com.atlassian.jira.pl... ]
Ralf Battenfeld commented on SHRINKDESC-161:
--------------------------------------------
Good, I will have a look;-)
> org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
> --------------------------------------------------------------------------------------
>
> Key: SHRINKDESC-161
> URL: https://issues.jboss.org/browse/SHRINKDESC-161
> Project: ShrinkWrap Descriptors
> Issue Type: Bug
> Components: impl-base
> Affects Versions: 2.0.0-alpha-7
> Reporter: Tomas Remes
>
> It is not possible to create multiple excludes in beans.xml without this method. The current beans_1_1.xsd seems to be correct. Note that changing xsd to:
> {noformat}
> <xs:element name="exclude" maxOccurs="unbounded">
> {noformat}
> generates the required method. Also note that parent node is <xs:sequence maxOccurs="unbounded" minOccurs="0"> so additional maxOccurs indicator shouldn't be necessary.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (SHRINKDESC-161) org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
by Tomas Remes (JIRA)
[ https://issues.jboss.org/browse/SHRINKDESC-161?page=com.atlassian.jira.pl... ]
Tomas Remes commented on SHRINKDESC-161:
----------------------------------------
Exactly. Probably the sequence is not taken into account, but I am not sure.
> org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
> --------------------------------------------------------------------------------------
>
> Key: SHRINKDESC-161
> URL: https://issues.jboss.org/browse/SHRINKDESC-161
> Project: ShrinkWrap Descriptors
> Issue Type: Bug
> Components: impl-base
> Affects Versions: 2.0.0-alpha-7
> Reporter: Tomas Remes
>
> It is not possible to create multiple excludes in beans.xml without this method. The current beans_1_1.xsd seems to be correct. Note that changing xsd to:
> {noformat}
> <xs:element name="exclude" maxOccurs="unbounded">
> {noformat}
> generates the required method. Also note that parent node is <xs:sequence maxOccurs="unbounded" minOccurs="0"> so additional maxOccurs indicator shouldn't be necessary.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (SHRINKDESC-161) org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
by Ralf Battenfeld (JIRA)
[ https://issues.jboss.org/browse/SHRINKDESC-161?page=com.atlassian.jira.pl... ]
Ralf Battenfeld commented on SHRINKDESC-161:
--------------------------------------------
I see that the top level elements are declared as 'unbounded'.
Is that a workaround?
<scan>
<exclude name="fdsa"/>
</scan>
<scan>
<exclude name="dfdfdf"/>
</scan>
> org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
> --------------------------------------------------------------------------------------
>
> Key: SHRINKDESC-161
> URL: https://issues.jboss.org/browse/SHRINKDESC-161
> Project: ShrinkWrap Descriptors
> Issue Type: Bug
> Components: impl-base
> Affects Versions: 2.0.0-alpha-7
> Reporter: Tomas Remes
>
> It is not possible to create multiple excludes in beans.xml without this method. The current beans_1_1.xsd seems to be correct. Note that changing xsd to:
> {noformat}
> <xs:element name="exclude" maxOccurs="unbounded">
> {noformat}
> generates the required method. Also note that parent node is <xs:sequence maxOccurs="unbounded" minOccurs="0"> so additional maxOccurs indicator shouldn't be necessary.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (SHRINKDESC-161) org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
by Ralf Battenfeld (JIRA)
[ https://issues.jboss.org/browse/SHRINKDESC-161?page=com.atlassian.jira.pl... ]
Ralf Battenfeld commented on SHRINKDESC-161:
--------------------------------------------
Seems to be a bug in the generator. You refer to this?
<scan>
<exclude name="fdsa"/>
<exclude name="sssss"/>
</scan>
> org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
> --------------------------------------------------------------------------------------
>
> Key: SHRINKDESC-161
> URL: https://issues.jboss.org/browse/SHRINKDESC-161
> Project: ShrinkWrap Descriptors
> Issue Type: Bug
> Components: impl-base
> Affects Versions: 2.0.0-alpha-7
> Reporter: Tomas Remes
>
> It is not possible to create multiple excludes in beans.xml without this method. The current beans_1_1.xsd seems to be correct. Note that changing xsd to:
> {noformat}
> <xs:element name="exclude" maxOccurs="unbounded">
> {noformat}
> generates the required method. Also note that parent node is <xs:sequence maxOccurs="unbounded" minOccurs="0"> so additional maxOccurs indicator shouldn't be necessary.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (SHRINKDESC-161) org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
by Tomas Remes (JIRA)
[ https://issues.jboss.org/browse/SHRINKDESC-161?page=com.atlassian.jira.pl... ]
Tomas Remes updated SHRINKDESC-161:
-----------------------------------
Description:
It is not possible to create multiple excludes in beans.xml without this method. The current beans_1_1.xsd seems to be correct. Note that changing xsd to:
{noformat}
<xs:element name="exclude" maxOccurs="unbounded">
{noformat}
generates the required method. Also note that parent node is <xs:sequence maxOccurs="unbounded" minOccurs="0"> so additional maxOccurs indicator shouldn't be necessary.
was:
It is not possible to create multiple excludes in beans.xml without this method. The current beans_1_1.xsd seems to be correct. Note that changing xsd to:
{noformat}
<xs:element name="exclude" maxOccurs="unbounded">
{noformat}
generates the required method.
> org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
> --------------------------------------------------------------------------------------
>
> Key: SHRINKDESC-161
> URL: https://issues.jboss.org/browse/SHRINKDESC-161
> Project: ShrinkWrap Descriptors
> Issue Type: Bug
> Components: impl-base
> Affects Versions: 2.0.0-alpha-7
> Reporter: Tomas Remes
>
> It is not possible to create multiple excludes in beans.xml without this method. The current beans_1_1.xsd seems to be correct. Note that changing xsd to:
> {noformat}
> <xs:element name="exclude" maxOccurs="unbounded">
> {noformat}
> generates the required method. Also note that parent node is <xs:sequence maxOccurs="unbounded" minOccurs="0"> so additional maxOccurs indicator shouldn't be necessary.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months
[JBoss JIRA] (SHRINKDESC-161) org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
by Tomas Remes (JIRA)
Tomas Remes created SHRINKDESC-161:
--------------------------------------
Summary: org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
Key: SHRINKDESC-161
URL: https://issues.jboss.org/browse/SHRINKDESC-161
Project: ShrinkWrap Descriptors
Issue Type: Bug
Components: impl-base
Affects Versions: 2.0.0-alpha-7
Reporter: Tomas Remes
It is not possible to create multiple excludes in beans.xml without this method. The current beans_1_1.xsd seems to be correct. Note that changing xsd to:
{noformat}
<xs:element name="exclude" maxOccurs="unbounded">
{noformat}
generates the required method.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
8 years, 11 months