[ 
https://jira.codehaus.org/browse/MEAR-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=301799#comment-301799
 ] 

Alex Halovanic commented on MEAR-146:
-------------------------------------

Stéphane, in light of Oracle confirming this being intentional behavior for the 
foreseeable future, do you still think it makes sense to modify this to have a 
specific WebLogic section for this option?

I feel like introducing a PlexusConfiguration just to nest a parameter is going 
to make invoking this option unnecessarily complex.  For example, the ear:ear 
goal documentation is not going to list this flag if it's nested under a 
Configuration class.  Also, unlike the JBoss options, this does not modify a 
separate file, but has consequences for application.xml.
                
> Expose parameter to not write library-directory element in application.xml
> --------------------------------------------------------------------------
>
>                 Key: MEAR-146
>                 URL: https://jira.codehaus.org/browse/MEAR-146
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.8
>         Environment: Oracle WebLogic
>            Reporter: Alex Halovanic
>            Priority: Minor
>         Attachments: ear-remove-librarydirectory-IT.patch, 
> ear-remove-librarydirectory.patch
>
>
> The current handling of defaultLibBundleDir leads to some issues on Oracle 
> Weblogic 10+.  The Ear plugin currently sets library-directory to the value 
> of defaultLibBundleDir in the application.xml for EARs v5+.  Some of Oracle's 
> classloading features break (specifically "Generic File Loading") when this 
> element is set.  defaultLibBundleDir has to be set to APP-INF/lib since this 
> is the magic library folder for WebLogic.
> The patch adds a parameter to prevent setting library-directory for cases 
> like this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to