Hi,

On 03.11.2011 10:30, Kayode Odeyemi wrote:
On Thu, Nov 3, 2011 at 8:51 AM, Werner Guttmann <[email protected]
<mailto:[email protected]>> wrote:

    Hi,

    looking at the documentation for the Ant task for the XML code
    generator at

    
http://castor.org/reference/__html/xml.code.generator.html#__xml.code.generator.__invocations.anttask.parameters
    
<http://castor.org/reference/html/xml.code.generator.html#xml.code.generator.invocations.anttask.parameters>

    I cannot see a 'castor.class.path' parameter. So what is your
    question actually about ?

I got that from here: http://castor.org/ddlgen-anttask.html.
Which is outdated. Please use the reference guide to get an idea what's supported and what not.

Amyway, i've been able to get around it using
classpath="${javac.classpath}" with castor jars files in my classpath.
>
However, I was able to successfully generate java files from an XSD. I
was hoping that with the generateMapping flag turned on, I was going to
get a corresponding XML file with each of these java classes but that
didn't happen. How can I get around this?
Can you plkease switch to the NEW Ant task definition, and take it from there ?

Kind Regards
Werner Guttmann

My use case revolves around generating an XML from JDO at periodic
intervals and then posting the XML files to Solr for indexing. Please
how can I marshal records stored in JDO directly to an XML file using
castor?

Will appreciate any help.

Thank you.



    On 02.11.2011 19:33, Kayode Odeyemi wrote:

        Hello all,

        First time poster here.

        Please what is castor.class.pathin ant build file meant to be set to

        for castor?

        Thanks

        --
        Odeyemi 'Kayode O.
        http://www.sinati.com. t: @charyorde




--
Odeyemi 'Kayode O.
http://www.sinati.com. t: @charyorde


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

   http://xircles.codehaus.org/manage_email


Reply via email to