Thanks to all... -----Original Message----- From: Keith Visco [mailto:[EMAIL PROTECTED] Sent: zaterdag 26 februari 2005 19:43 To: [email protected] Subject: Re: [castor-user] org.exolab.castor.builder.superclass not working
Ronald, You didn't read closely enough. It says castorbuilder.properties, not castor.properties. --Keith Ronald Dehuysser wrote: > Hi there, > > 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 > > > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-user > > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-user ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-user
