Is there a particular reason you are calling main()? Why not try SchemaCompiler.compile(...)? If you are curious how it works take a peek at some of the unit tests like http://svn.apache.org/viewvc/xmlbeans/trunk/test/src/compile/scomp/checkin/CompilationTests.java?view=markup
HTH, -jacobd On Sun, Jul 27, 2008 at 12:55 AM, Chathura Herath <[EMAIL PROTECTED]> wrote: > Hi, > I am using the SchemaCompiler.main to compile and jar the types in the > runtime and it genereates stuff fine. But when its done SchemaCompiler > shuts my program down, so my idea of dynamically genarating the types > and classloading and then using is lost. > We had a similar problem in Axis wsdl2java looong time ago and it was > a System.exit(0) at the end. Any advice on how to mitigate the > situation. > Thanks in Advance > -- > Chathura Herath > http://people.apache.org/~chathura/ > http://chathurah.blogspot.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

