Oops, sorry, my fault. You are looking at the right documentation.
Kind Regards Werner Guttmann On 03.11.2011 12:44, Kayode Odeyemi wrote:
On Thu, Nov 3, 2011 at 11:27 AM, Werner Guttmann <[email protected] <mailto:[email protected]>> wrote: 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]> <mailto:[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> <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 <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 ? I think I'm looking at the new one? I went to the link you pasted above (http://castor.org/reference/html/xml.code.generator.html#xml.code.generator.invocations.anttask) and it is not different from the Castor PDF reference I'm using. The new reference is showing "classpathref="castor.class.path" which I mentioned I replaced with classpath="${javac.classpath}" to get things working. if there's any other newer reference, can you please point me to this. Thanks -- Odeyemi 'Kayode O. http://www.sinati.com. t: @charyorde
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

