Keith,

Is can you give an example of the snippet of how to use the MappingTool,
like does it use the schema to generate mapping ?.

Regards
Rajesh

-----Original Message-----
From: Keith Visco [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 2:09 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Generate mapping.xml



Just use org.exolab.castor.tools.MappingTool.

The one in the CVS works the best with the generated source code. But
you still might need to modify the mapping a bit after generation to get
it to work properly. The source generated classes take advantage of the
fact that they are creating the descriptors as java classes and
sometimes add special handling code. The MappingTool is not always aware
of this.

Your best bet is to just try it and see what the results are.

--Keith


"Rano, Didier" wrote:
>
> How use this tool for my needs ? With a XSD file, I want to generate all
classes
> (like sourcegen) and mapping.xml.
>
> Thank you
>
> Didier Rano
>
> ____________________S�parateur de messages____________________
> Objet : Re: [castor-dev] Generate mapping.xml
> Auteur :    [EMAIL PROTECTED]
> Date :  11/03/2002 15:48
>
> This one time, at band camp, Rano, Didier said:
>
> RD>I'm searching to generate mapping.xml automaticaly. Is it possible ?
>
> Didier,
>
> Yes, this is possible with XDoclet. See http://xdoclet.sourceforge.net/.
>
> Bruce
> --
>
> perl -e 'print
unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>      unsubscribe castor-dev
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev

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

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

Reply via email to