You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by rabidgremlin <ra...@gmail.com> on 2005/10/19 00:26:28 UTC

Ant task generating bad code

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