Thanks Werner for the email.

I discussed this with my teammates, and they would like to use Ant to 
generate the  source. 
And currently it is just one XML Schema (today) but they anticipate many 
XML Schemas down the road. And they would all be disjunct no master per 
sey.

Thanks,
Scott






Werner Guttmann <[EMAIL PROTECTED]> 
07/01/2008 03:42 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: [castor-user] Castor To Create Java Files From XML/XSD






Scott,

before pointing you to the right places, let me ask you a few questions:

a) How would you want to trigger the code generation ? In other words,
what build environment are you using ? Ant ? Maven ?

b) Is it just one XML schema, or a set of XML schema files from which
you want Java code to be generated ? If more than one, is this a
disjunct set, or is there e.g. a master schema that includes/imports all
the other XML schemas ?

Regards
Werner

Scott Purcell wrote:
> Hello,
> 
> Kind of new with this, so here goes. I have a project that is currently 
> using JAXB and our team would like to switch to Castor. The way this 
works 
> is we have a XML document with some XML Schema tags in it that we used 
> with JAXB.
> 
> I would like to be able to generate the java files for this using Castor 

> and then of course have castor unmarshall the forms at a later time.
> 
> I have searched the docs, and do not see how this is accomplished. I 
> worked through the tutorial, and all I see is how to make the XSD while 
> marshalling the data, but the team wants to create their own XML and 
have 
> castor create the java from it.
> 
> Thanks,
> Scott
> 
> 
> 
> CONFIDENTIALITY NOTICE
> This e-mail message and any attachments are only for the use of the 
intended recipient and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If you are 
not the intended recipient, any disclosure, distribution or other use of 
this e-mail message or attachments is prohibited. If you have received 
this e-mail message in error, please delete and notify the sender 
immediately. Thank you.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email







CONFIDENTIALITY NOTICE
This e-mail message and any attachments are only for the use of the intended 
recipient and may contain information that is privileged, confidential or 
exempt from disclosure under applicable law. If you are not the intended 
recipient, any disclosure, distribution or other use of this e-mail message or 
attachments is prohibited. If you have received this e-mail message in error, 
please delete and notify the sender immediately. Thank you.

Reply via email to