You all work out whether or not this is a bug. I will file it. I changed the database.xml files to use paths relative to the database.xml file. This fixes my issues but if I shouldn't, then let me know. Take care, Jeremy
On 9/21/05, Ralf Joachim <[EMAIL PROTECTED]
> wrote:
Hi Jeremy,
you have to options to specify mapping in jdo-conf.xml /database.xml.
1. you can specify an absolute path
2. with relative path it is interpreted to be relative to the position
of the jdo-conf.xml/database.xml file. But there is a restiction if the
configuartion files are in jars, they need to be in the same jar file in
this case.
Having said that I'm not sure if Bruce is right and this is a bug as the
behaviour to load mapping files have changed with 0.9.6.
Regards
Ralf
Jeremy Whitlock schrieb:
> 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 <http://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
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
--
Take care,
Jeremy

