Ah... this would be MPMULTIPROJECT-19.
Look at http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPMULTIPROJECT-19
"Glenn R. Golden" <[EMAIL PROTECTED]>
12.02.2004 01:21
Please respond to "Maven Users List"
To: "Maven Users List" <[EMAIL PROTECTED]>
cc:
Subject: trouble with multiproject
I've got 7 subprojects, and when I run multiproject on them like this:
maven -Dgoal=dist:build multiproject:goal
invoking "dist:build" it runs out of memory, I think.
I've upped the memory from the 256 it's distributed with (maven 1.0
rc1) to 600m -> 900m. This in a 1 gig mac 10.3. It gets further
along...
Here's the last banner before failure:
+----------------------------------------
| Executing dist:build Sakai / CHEF shared webapp
| Memory: 456M/593M
+----------------------------------------
dist:build:
dist:build-setup:
[mkdir] Created dir:
/Users/ggolden/dev/sakai/shared/target/distributions
xdoc:init:
[mkdir] Created dir:
/Users/ggolden/dev/sakai/shared/target/generated-xdocs
[mkdir] Created dir: /Users/ggolden/dev/sakai/shared/target/docs
java:prepare-filesystem:
[mkdir] Created dir: /Users/ggolden/dev/sakai/shared/target/classes
BUILD FAILED
File......
file:/Users/ggolden/.maven/plugins/maven-multiproject-plugin-1.1/
Element... maven:reactor
Line...... 174
Column.... 9
Unable to obtain goal [java:compile] --
file:/Users/ggolden/.maven/plugins/maven-java-plugin-1.3/:25:15:
<ant:echo> null
Sure looks like running out of memory.
I wonder if a call to GC might be in order somewhere in the
multiproject processing. In fact, does anyone know of an ant task I
could drop into the process which would do a GC?
Has anyone else run into this? Any go arounds? Other than doing them
by hand, one at a time.
Thanks.
- Glenn
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]