dev@glassfish.java.net

Re: building installers

From: Amy Roh <Amelia.Roh_at_Sun.COM>
Date: Fri, 22 Sep 2006 14:45:33 -0700

Scott Oaks wrote:
> If I attempt to build an installer:
>
> maven build-jarinstaller-pe
>
> I eventually get an error:
>
> BUILD FAILED
> File......
> /export/sdo/glassfish_workspace/Sep09/glassfish/bootstrap/maven.xml
> Element... ant:ant
> Line...... 554
> Column.... 94
> Java heap space
> Total time: 19 minutes 13 seconds
> Finished at: Fri Sep 22 17:28:43 EDT 2006
>
>
> So clearly I need to increase the Java heap size used by the maven ant
> task, except I can't figure out how to do that. Does anyone know? And if
> the heap size needs to be increased for this task, why isn't that the
> default?

Try setting MAVEN_OPTS and\or ANT_OPTS -Xmx256m.

hth,
Amy

>
> -Scott
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>