Re: [castor-user] Automatically discovered mapping files?

2006-05-02 Thread Werner Guttmann
not supported within JDOMappingLoader (which happens to be used by Castor JDO). Werner -Original Message- From: Ralf Joachim [mailto:[EMAIL PROTECTED] Sent: Freitag, 28. April 2006 14:40 To: user@castor.codehaus.org Subject: Re: [castor-user] Automatically discovered mapping files

Re: [castor-user] Automatically discovered mapping files?

2006-04-29 Thread Keith Visco
as well ? Werner -Original Message- From: Keith Visco [mailto:[EMAIL PROTECTED] Sent: Dienstag, 25. April 2006 03:09 To: user@castor.codehaus.org Subject: Re: [castor-user] Automatically discovered mapping files? Hi Chris, You should be able to drop a mapping file with the name

RE: [castor-user] Automatically discovered mapping files?

2006-04-28 Thread Werner Guttmann
Keith, Out of interest, would you think that this should work with Castor JDO as well ? Werner -Original Message- From: Keith Visco [mailto:[EMAIL PROTECTED] Sent: Dienstag, 25. April 2006 03:09 To: user@castor.codehaus.org Subject: Re: [castor-user] Automatically discovered

Re: [castor-user] Automatically discovered mapping files?

2006-04-28 Thread Ralf Joachim
? Werner -Original Message- From: Keith Visco [mailto:[EMAIL PROTECTED] Sent: Dienstag, 25. April 2006 03:09 To: user@castor.codehaus.org Subject: Re: [castor-user] Automatically discovered mapping files? Hi Chris, You should be able to drop a mapping file with the name .castor.xml

RE: [castor-user] Automatically discovered mapping files?

2006-04-28 Thread Werner Guttmann
PROTECTED] Sent: Freitag, 28. April 2006 14:40 To: user@castor.codehaus.org Subject: Re: [castor-user] Automatically discovered mapping files? Werner, as JPA defines some discovering mechanisums I'd be in favor of supporting them instead of a Castor specific one that that only a few

RE: [castor-user] Automatically discovered mapping files?

2006-04-26 Thread Werner Guttmann
mentioned anywhere in our HTML docs ? -Original Message- From: Ralf Joachim [mailto:[EMAIL PROTECTED] Sent: Dienstag, 25. April 2006 23:45 To: user@castor.codehaus.org Subject: Re: [castor-user] Automatically discovered mapping files? Hi Chris, how about creating a new issue

Re: [castor-user] Automatically discovered mapping files?

2006-04-26 Thread Ralf Joachim
HTML docs ? -Original Message- From: Ralf Joachim [mailto:[EMAIL PROTECTED] Sent: Dienstag, 25. April 2006 23:45 To: user@castor.codehaus.org Subject: Re: [castor-user] Automatically discovered mapping files? Hi Chris, how about creating a new issue in jira and provide us

RE: [castor-user] Automatically discovered mapping files?

2006-04-26 Thread Werner Guttmann
. Werner PS Is this 'feature' actually mentioned anywhere in our HTML docs ? -Original Message- From: Ralf Joachim [mailto:[EMAIL PROTECTED] Sent: Dienstag, 25. April 2006 23:45 To: user@castor.codehaus.org Subject: Re: [castor-user] Automatically discovered mapping files

Re: [castor-user] Automatically discovered mapping files?

2006-04-25 Thread Ralf Joachim
Hi Chris, for the database part of Castor we are working toward getting JPA (EJB3.0) compliant. As mapping gets used by database and XML parts you would propably take a look at discovery mechanism defined in this specification. You may also want to look into JAXB2 specification if this also

RE: [castor-user] Automatically discovered mapping files?

2006-04-25 Thread ELVART, CHRISTOPHER \(SBCSI\)
Keith wrote... You should be able to drop a mapping file with the name .castor.xml into your Java package and Castor should discover it. I can't get this to work with Castor 1.0. Can you give me a hint? * To test this I have a class... package xml.testBeans; public class

Re: [castor-user] Automatically discovered mapping files?

2006-04-25 Thread Ralf Joachim
Hi Chris, i guess the file needs to be named .castor.xml instead of DiscoverableChildBean.castor.xml according to explanation of Keith. Ralf ELVART, CHRISTOPHER (SBCSI) schrieb: Keith wrote... You should be able to drop a mapping file with the name .castor.xml into your Java package and

RE: [castor-user] Automatically discovered mapping files?

2006-04-25 Thread ELVART, CHRISTOPHER \(SBCSI\)
I get it now. There is one .castor.xml file for each package. Is there any way to change the filename to remove the preceding dot? We use WSAD for our development and it suppresses the file in the explorer so it is not obvious to anyone looking at our source code that there even is a file named

Re: [castor-user] Automatically discovered mapping files?

2006-04-25 Thread Ralf Joachim
Hi Chris, how about creating a new issue in jira and provide us with a patch about how to enable subclassing of ClassDescriptorResolverImpl. I can think of 2 protected methods: protected String getMappingFileName() { return PKG_MAPPING_FILE; } protected String getResolverFileName() { return

Re: [castor-user] Automatically discovered mapping files?

2006-04-24 Thread Keith Visco
Hi Chris, You should be able to drop a mapping file with the name .castor.xml into your Java package and Castor should discover it. Hope that helps! --Keith ELVART, CHRISTOPHER (SBCSI) wrote: Before I got to Castor I evaluated several other XML Binding tools and I have found this one to