tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Blevins (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENEJB-1006) Added 'openejb.vendor.config' property settable to any of: geronimo, glassfish, jboss, weblogic
Date Sat, 07 Mar 2009 22:34:56 GMT

    [ https://issues.apache.org/jira/browse/OPENEJB-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679916#action_12679916
] 

David Blevins commented on OPENEJB-1006:
----------------------------------------

Went with a very similar approach:

        // By default all vendor support is enabled
        Set<Vendor> support = Options.getEnums(SystemInstance.get().getProperties(),
"openejb.vendor.config", Vendor.values());

        if (support.contains(Vendor.GERONIMO) || System.getProperty(DUCT_TAPE_PROPERTY) !=
null) {
            chain.add(new OpenEjb2Conversion());
        }

        if (support.contains(Vendor.GLASSFISH)) {
            chain.add(new SunConversion());
        }

        if (support.contains(Vendor.WEBLOGIC)) {
            chain.add(new WlsConversion());
        }

Adding         container/openejb-core/src/main/java/org/apache/openejb/Vendor.java
Sending        container/openejb-core/src/main/java/org/apache/openejb/config/ConfigurationFactory.java
Sending        container/openejb-core/src/main/java/org/apache/openejb/util/Options.java
Transmitting file data ...
Committed revision 751333.





> Added 'openejb.vendor.config' property settable to any of: geronimo, glassfish, jboss,
weblogic
> -----------------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1006
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1006
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: deployment
>    Affects Versions: 3.0, 3.1
>            Reporter: Fredrik Jonson
>            Assignee: David Blevins
>            Priority: Minor
>             Fix For: 3.0.1, 3.1.1
>
>         Attachments: make-automatic-inclusion-of-sun-descriptors-optional.patch
>
>
> When a project's target environment is both Geronimo and Glassfish it is convenient if
geronimo does not interfere with the sun specific deployment descriptors, such as sun-ejb-jar.xml.
By default openejb currently parses both openejb-jar.xml and sun-ejb-jar.xm - which may cause
deployment failures when the sun descriptor contains configurations specifically tailored
for Glassfish.
> The goal of this issue is to make automatic inclusion of the sun-specific deployment
descriptors optional.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message