Hi,

why are you still working with 0.9.7 relesae of Casror? There got quite some issues in Castor's XML and codegen modul fixed between 0.9.7 and current 1.1.2.1 release. As far as I remember also in the area of passing parameters to the code generator.

Regards
Ralf


llem schrieb:
we are using Castor 0.9.7, and are using the SourceGenerator (via the
Ant task) to generate Java classes from an XSD schema.

we have added the following property to our castorbuilder.properties file:

org.exolab.castor.builder.extraCollectionMethods=true

we have also added the following in our Ant script:

properties="${basedir}/src/castorbuilder.properties"

however, the generated source is missing the getXXXAsSource() and
setXXXAsSource() methods.

invoking the SourceGenerator from the command-line (with the same
castorbuilder.properties file) works though.

i had a quick look through CastorSourceGenTask.java, and it does seem to
read the "properties" property and pass it to the SourceGenerator, so i
don't know where to look next.

any help is much appreciated.
cheers.




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

   http://xircles.codehaus.org/manage_email

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

   http://xircles.codehaus.org/manage_email

Reply via email to