maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Heise <...@janheise.de>
Subject Was: [Andromda-user] build failed 3.0M2-SNAPSHOT
Date Sat, 03 Jul 2004 09:12:46 GMT
Hi all,

this is a resend of a problem I have building andromda with maven.
 From the andromda-mailing-list I got the suggestion to take my problem  
here
as it seems to be a maven/mac osx/java problem.

The build always fails with an OutOfMemory-exception.

I tested with different settings for memory, e.g.:
setenv MAVEN_OPTS "-Xms512m -Xmx768m -Xss2m"
setenv ANT_OPTS "-Xms512m -Xmx768m -Xss2m"

The machine I'm using runs Mac OSX and has 1Gig RAM:
Darwin janfried.local 7.4.0 Darwin Kernel Version 7.4.0: Wed May 12  
16:58:24 PDT 2004; root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC  Power  
Macintosh powerpc

java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-117.1)
Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode)

maven v. 1.0-rc3

Here a snippet of the build-log:

multiproject:install-callback:
     [echo] Running war:install for Animal Quiz Sample Web
INFO  [start] Running <strutsconfigxml/>
INFO  [engineStarted] Generating output 'struts-config.xml' using  
template file  
'jar:file:/Users/jheise/.maven/repository/xdoclet/jars/xdoclet-apache- 
module-1.2.jar!/xdoclet/modules/apache/struts/resources/ 
struts_config_xml.xdt'.
null
ParameterImpl instances:   0
MethodImpl instances:      0
ConstructorImpl instances: 0
SimpleNode instances:      0
SourceClass instances:     0
XDoc instances:            0
DefaultXTag instances:     0
BinaryClass instances:     0
UnknownClass instances:    0
Total memory:    506
Free memory:    423
Try to increase heap size. Can be done by defining ANT_OPTS=-Xmx640m
See the JDK tooldocs.

BUILD FAILED
File......  
/Users/jheise/.maven/plugins/maven-multiproject-plugin-1.3/plugin.jelly
Element... maven:reactor
Line...... 216
Column.... 9
Unable to obtain goal [multiproject:install-callback] --  
/Users/jheise/Development/sourceforge.net/andromda-all/samples/animal- 
quiz/web/maven.xml:19:53: <webdoclet>  
org.apache.tools.ant.BuildException
INFO  [App] Total time: 14 minutes 18 seconds
INFO  [App] Finished at: Fri Jul 02 20:56:21 CEST 2004
INFO  [App]


tia,

Jan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message