persistence units in other modules should not be picked up by 
PersistenceUnitDeployer called from a module
----------------------------------------------------------------------------------------------------------

                 Key: GERONIMO-3307
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3307
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: persistence
    Affects Versions: 2.0-M6
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: 2.0-M7


We have some code that's supposed to prevent the PersistenceUntiBuilder from 
finding a persistence unit in another module, but it doesn't work if the module 
calling the persistenceUnitBuilder is a war in an ear.  For wars, we have to 
prepend the path to the persistence unit with ../ since the war is a directory 
not a jar inside the car, and that no longer matches a module path.  We can do 
two resotutions... one against the module path, once against the ../ and check 
for another module against the module-path-resolved uri.

This could use some unit tests.


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

Reply via email to