JBoss development,
A new message was posted in the thread "WarStructure metadata locations are
wrong":
http://community.jboss.org/message/520796#520796
Author : Ales Justin
Profile :
http://community.jboss.org/people/alesj
Message:
--------------------------------------------------------------
The persistence.xml is contained in the web archive
(test-jpa-webclasses.war) in /WEB-INF/classes/META-INF/ and looks correct.
While I moved libs metadata locations to ALTERNATIVE type, the spec locations
remained the same:
*
http://anonsvn.jboss.org/repos/jbossas/trunk/server/src/main/java/org/jbo...
String[] metaDataLocations = new String[]{"WEB-INF",
"WEB-INF/classes/META-INF"};
For JPA parsing deployer to now properly work - picking up lib's persistence.xml - it
needs to be properly configured, see
http://anonsvn.jboss.org/repos/jbossas/trunk/server/src/main/java/org/jbo....
(we need to add MetaDataTypeFilter.ALL)
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/520796#520796