users@jaxb.java.net

executing a xjc directly

From: Marc Dumontier <dumontier_at_mshri.on.ca>
Date: Tue, 15 Apr 2003 12:03:59 -0400

Hi,

first of all, i'm wondering if this list has a searchable archive...

I've asked this question before, but misplaced the solution, so i
apologize for asking again.

What is the command do directly execute XJC using the jar command (this
has to do with running out of memory when executing through the xjc.sh
script even with a high -Xmx argument to java.


-----
parsing a schema...
compiling a schema...
java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Caused by: java.lang.OutOfMemoryError
-------

Thanks,
Marc