Jeremy,
 
as far as I know, yes, it does use the location of the JDO config file as the base.
 
Werner


From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 21. September 2005 00:28
To: Castor-Dev
Subject: [castor-dev] [JDO] Mapping File Path Resolution

All,
     I just updated the Castor support for OpenEJB.  In doing so, I have now realized that Castor resolves the mapping files referenced in the database file a little differently.  In 0.9.5.3, we would put "META-INF/cmp.or-mapping.xml" as the mapping file and it was properly loaded.  In Castor 0.9.9M2, it tries to load "META-INF/META-INF/cmp.or-mapping.xml".  Now...I've got my own opinion about this but is it safe to say that Castor uses the location of the database file as the base of where to build relative paths to the mapping files? This is the only way I can see this not being a bug.  If it's a bug, let me know and I'll file a Jira.

--
Take care,
     Jeremy

Reply via email to