users@jaxb.java.net

Re: executing a xjc directly

From: Ed Mooney <Ed.Mooney_at_sun.com>
Date: Tue, 15 Apr 2003 12:28:11 -0400

Hi Marc,

     java -jar $JWSDP_HOME/jaxb-1.0/lib/jaxb-xjc.jar -help

More in the release notes:

     $JWSDP_HOME/jaxb-1.0/docs/ReleaseNotes.html

Regards,
--
Ed Mooney         |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201            |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive       |fruit flies like
781-442-0459      |Burlington, MA  01803 |a banana. Groucho
Marc Dumontier wrote:
> 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