[jboss-jira] [JBoss JIRA] (AS7-1928) Allow deployments to get access to the META-INF folder of their dependency module
David Lloyd (JIRA)
jira-events at lists.jboss.org
Mon Jun 11 13:50:04 EDT 2012
[ https://issues.jboss.org/browse/AS7-1928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700534#comment-12700534 ]
David Lloyd commented on AS7-1928:
----------------------------------
You have to define the dependency to include the a filter that includes META-INF (see my comment up above; you'll have to use jboss-deployment-structure.xml though in this case). Also do not specify the slot; it'll cause you trouble later.
> Allow deployments to get access to the META-INF folder of their dependency module
> ---------------------------------------------------------------------------------
>
> Key: AS7-1928
> URL: https://issues.jboss.org/browse/AS7-1928
> Project: Application Server 7
> Issue Type: Feature Request
> Affects Versions: 7.1.0.Alpha1
> Reporter: Marius Bogoevici
> Assignee: Stuart Douglas
> Fix For: 7.1.0.Final
>
> Attachments: modular-app.META-INF.not.accessible.zip
>
>
> Currently there is absolutely no mechanism (outside of manipulating dependencies programmatically through a subsystem) for deployments to get access to some META-INF/xyz files from a module that they declare as a dependency, except are in META-INF/services.
> This is a serious impediment when considering the installation of third party libraries as shared libraries (modules) in JBoss AS. Some frameworks may rely upon locating internal descriptors in META-INF, and if the libraries are installed as modules, the descriptors are not accessible to the framework. Essentially, there is no way of accessing resources under META-INF unless they are either services, or the library is packaged in the deployment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list