Hi,
I was just about to say the same. It is almost ever an EITHER .. OR. You
either generate POJOs and descriptor classes, or POJOs or mapping file.
Though personally, I'd recommend the usage of descriptor classes.
Regards
Werner
On 29.11.2010 00:41, Ralf Joachim wrote:
Hi Andrew,
if you are generating code you do not need a mapping file. The generated
descriptor classes will contain all the information castor needs for
un-/marshaling.
Regards
Ralf
Am 28.11.2010 18:06, schrieb space_cadet:
Hello,
I am new to Castor and am using the Castor Code Generator ANT task to
generate code from a XSD schema file.
I am using a binding XML file as well. One thing that I have a question
about is the needed XML mapping file. I set the ‘generateMapping’ attribute
to ‘true’ but have not found a mapping XML document.
Is there something I am doing wrong?
I have attached the XSD files(some are imported), binding XML file and the
ANT build.xml file to this post.
Thanks in advance,
Andrew
http://old.nabble.com/file/p30324485/build.xml build.xml
http://old.nabble.com/file/p30324485/binding.xml binding.xml
http://old.nabble.com/file/p30324485/siperian-jms.xsd siperian-jms.xsd
http://old.nabble.com/file/p30324485/siperian-core.xsd siperian-core.xsd
http://old.nabble.com/file/p30324485/siperian-metadata.xsd
siperian-metadata.xsd
http://old.nabble.com/file/p30324485/siperian-mrm-events.xsd
siperian-mrm-events.xsd
http://old.nabble.com/file/p30324485/siperian-types.xsd siperian-types.xsd
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email