On Sat, 26 Feb 2005 19:38:01 +0100, Ronald Dehuysser <[EMAIL PROTECTED]> wrote:
> I just read the SourceGeneratorUser > (http://www.castor.org/SourceGeneratorUser.pdf) and tried some of the stuff > in there. It says, that if you add > org.exolab.castor.builder.superclass=org.jxml.swing.written.Component to the > castor.properties file, each class would extend this class. However, if I > open the source of one of the generated files, I can't see it in there. > > And with the org.exolab.castor.builder.javaclassmapping=type I receive the > same output than with org.exolab.castor.builder.javaclassmapping=element. > > Have I done something wrong? Is this Userguide deprecated? I'm sure that the > castor.properties file is read since the debugging output works... > > Kind regards, > Ronald > > My castor.properties file: > > # Java class mapping of <xsd:element>'s and <xsd:complexType>' > # > org.exolab.castor.builder.javaclassmapping=type > > # This property allows one to specify the super class of *all* > # generated classes > # > org.exolab.castor.builder.superclass=org.jxml.swing.written.Component > org.exolab.castor.debug=true Ronald, These properties belong in the castorbuilder.properties file, not the castor.properties file. Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' The Castor Project http://www.castor.org/ Apache Geronimo http://geronimo.apache.org/ ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-user
