geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sisson (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-1825) Only one filter element can be specified inside a hidden-classes or non-overridable-classes element in plans
Date Tue, 11 Apr 2006 05:16:21 GMT
Only one filter element can be specified inside a hidden-classes or non-overridable-classes
element in plans
------------------------------------------------------------------------------------------------------------

         Key: GERONIMO-1825
         URL: http://issues.apache.org/jira/browse/GERONIMO-1825
     Project: Geronimo
        Type: Bug
    Security: public (Regular issues) 
  Components: deployment  
    Versions: 1.0    
    Reporter: John Sisson
 Assigned to: John Sisson 
    Priority: Minor
     Fix For: 1.1


In Geronimo 1.0 you cannot specify more than one filter element inside a hidden-classes or
non-overridable-classes element in a configuration plan.

The workaround is to wrap each filter in with a hidden-classes or non-overridable-classes
element.

For example, instead of:

<hidden-classes>
    <filter>org.acme.foo</filter>
    <filter>org.acme.bar</filter>
</hidden-classes>

Specify:

<hidden-classes>
    <filter>org.acme.foo</filter>
</hidden-classes>

<hidden-classes>
    <filter>org.acme.bar</filter>
</hidden-classes>

This has been fixed in version 1.1 as part of the changes in rev 381840  to modules/service-builder/src/schema/geronimo-config-1.1.xsd:

-            <xs:element name="filter" type="xs:string"/>
+            <xs:element name="filter" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message