Hi All,

I have an ant build script which generates my XmlBeans .jar file. Whilst using this .jar I kept tripping up ClassCastExceptions when calling the newInstance() or methods on one of my objects.

However if I run scomp to generate my .jar file then the ClassCastExceptions go away.

For the moment I have just launched the scomp (SchemaCompiler) class using a <java> task in my ant script but I am curious as why the xmlbeans task does not work.

Jonathan

Reply via email to