On 9/21/05, Ralf Joachim <[EMAIL PROTECTED]> wrote:
> 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.
The reason that I feel this is a bug is due to the path in which
Jeremy says Castor is looking for the XML mapping descriptor:
META-INF/META-INF/cmp.or-mapping.xml
I'm interpreting this as Castor requiring a directory named META-INF
that contains another directory named META-INF in which it will find
the cmp.or-mapping.xml file. Why should a user be requied to specify
the path to the XML mapping descriptor in this manner? I don't
understand why this path requirement is OK?
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
The Castor Project
http://www.castor.org/
Apache Geronimo
http://geronimo.apache.org/
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------