I just downloaded the new 0.9.5.1 version and had it generate my classes again from my schema files. Its choking because when it needs to import any files from the "types" directory it does not include the src package like it did previously. Here's an example:
package com.evnt.qbfccastor;
//---------------------------------/ //- Imported classes and packages -/ //---------------------------------/
import com.evnt.qbfccastor.types.AccountTypeType; import java.io.IOException; import java.io.Reader; import java.io.Serializable; import java.io.Writer; import org.exolab.castor.xml.MarshalException; import org.exolab.castor.xml.Marshaller; import org.exolab.castor.xml.Unmarshaller; import org.exolab.castor.xml.ValidationException; import org.xml.sax.ContentHandler; import types.DetailAccountTypeType;
Notice the last line. The file "DetailAccountTypeType" is a class generated by Castor and is in the subdirectory "types". The line should read:
import com.evnt.qbfccastor.types.DetailAccountTypeType;
Anybody know what broke or if there is something different that I should be doing. I did not changed my castorbuilder.properties when moving to 0.9.1.5.
FWIW I'm generating it via Mavan's castor plugin. I changed the plugin to use the new 0.9.1.5 version. I downloaded the castor-0.9.5.1-src.zip download file and did a "build jar" to build it.
Thanks, Brent
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
