See my other message about CVS not compiling again. I am not using the latest but I am using a CVS version from 1-2 weeks ago. > Hi Robert, > > Have you tried the CVS version of Castor? > > Arnaud > > > > This message is intended only for the use of the Addressee and may contain > information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended > recipient, dissemination of this communication is prohibited. If you have > received this communication in error, please erase all copies of the message > and its attachments and notify us immediately. > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Friday, January 23, 2004 4:16 PM > > To: [EMAIL PROTECTED] > > Subject: [castor-dev] SourceGenerator fails to generate imports > > > > > > I recently moved part of my schema into a second file because > > it contained types that another group uses. My main schema > > imports the other group's schema as well as the W3C xlink > > schema. It worked fine with just xlink but when I created > > the othergroup.xsd, I ran into compile errors: One of the > > classes in the main schema (and main package) refers to a > > class in the othergroup schema (in a different package). > > SourceGenerator fails to generate an import statement for the > > imported class nor does it fully qualify the classname with > > the other package. > > > > Here is how I generate the source: > > > > java org.exolab.castor.builder.SourceGenerator -i > > mainschema.xsd -types j2 -package org.myorg.myproject -dest . > > java org.exolab.castor.builder.SourceGenerator -i > > othergroup.xsd -types j2 -package org.myorg.otherproject > > -dest . java org.exolab.castor.builder.SourceGenerator -i > > xlink.xsd -types j2 -dest . > > > > Is this a bug in the SourceGenerator (possibly bug #1144) or > > is it how I am generating the source?? > > > > Thanks... > > Robert > > > > ----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send mail to > > [EMAIL PROTECTED] with a subject of: > > unsubscribe castor-dev > > > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev >
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev