[jboss-jira] [JBoss JIRA] Created: (AS7-806) parse persistence unit (persistence.xml) contained in jar file in the EAR library directory
Scott Marlow (JIRA)
jira-events at lists.jboss.org
Tue May 17 11:12:01 EDT 2011
parse persistence unit (persistence.xml) contained in jar file in the EAR library directory
-------------------------------------------------------------------------------------------
Key: AS7-806
URL: https://issues.jboss.org/browse/AS7-806
Project: Application Server 7
Issue Type: Task
Reporter: Scott Marlow
Assignee: Jason Greene
Fix For: 7.0.0.CR1
PersistenceUnitParseProcessor.handleEarDeployment() needs to know the difference between jars that are subdeployments and jars that are in ear/lib.
Currently, jars in ear/lib are ignored.
For example, with a deploymentUnit.getAttachment(Attachments.RESOURCE_ROOTS) of:
ResourceRoot [root="/content/test.ear/lib/test.jar"]
ResourceRoot [root="/content/test.ear/test_web.war"]
ResourceRoot [root="/content/test.ear/test_ejb.jar"]
The test.ear/test_web.war + test.ear/test_ejb.jar get handled as subdeployments but test.ear/lib/test.jar does not.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list