Hi there.

I am having problems with my mappings not working properly and in accordance
with the tips&tricks have done:

                Logger logger = new Logger( System.err );

                Mapping mapping = new Mapping();
                mapping.setLogWriter( logger );         <----
                mapping.loadMapping( "mapping.xml" );

                Unmarshaller unmarshaller = new Unmarshaller( mapping );
                unmarshaller.setDebug( true );          <----
                unmarshaller.setLogWriter( logger );    <----
                Language language = ( Language ) unmarshaller.unmarshal( new
InputSource( new FileReader( args[0] ) ) );

However the one and only message generated by this is:

"Loading mapping descriptors from mappings.xml"

Whereas I was expecting:

"...detailed information about mapping decisions made by Castor, as well as
show the SQL statements being used..." and "...trace messages showing
conflicts between the XML document and loaded objects..."

I'm using Castor 0.9.3 downloaded from exolab.org.

What am I doing wrong?

Regards,

matt.

---
To guess is cheap. To guess wrong is expensive - Old Chinese Proverb

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to