users@jaxb.java.net

Re: xjc 20040405 uses 1.4 API

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 15 Apr 2004 08:28:15 -0700

> Now I'm seeing some different strange results. I am getting
> java.lang.OutOfMemoryError about half way through our ant build. A bit
> more info: We have about 15 separate xjc tasks in one build.xml (and
> nothing else - this is just for doing xjc code gen). When I run this
> build with jaxb from 20031215, it works fine every time (well, not
> exactly, but more on that later). When I run with the latest jaxb -
> 20040413, the second one from today - it fails with OutOfMemoryError
> every time, after about 9 of the xjc's.

OK. Is there any chance you can send us the schemas?


> One more possibly useful bit of info (the rest of this is referring to
> "old reliable" jaxb build 20031215, not any of the recent builds): We
> normally run this ant xjc build as part of a larger ant build (that does
> compiling, jaring, etc). We invoke the xjc build like this:
>
> <target name="jaxbgen">
> <ant dir="jaxb" inheritall="false"/>
> </target>
>
> which should (theoretically) be the same as invoking it separately.
> Anyway, we have noticed in the past few days (we recently added a few
> more xjc's to the build) that the ant xjc build fails with
> OutOfMemoryError BUT ONLY when invoked as part of the larger ant build
> (as shown just above). When invoking the ant xjc build by itself, it
> works fine everytime (again, with 20031215).

Which version of Ant do you use?

regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net