On Thu, Nov 3, 2011 at 8:51 AM, Werner Guttmann <[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. 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? 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

