Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 69249 invoked from network); 3 Jul 2004 09:13:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Jul 2004 09:13:19 -0000 Received: (qmail 89799 invoked by uid 500); 3 Jul 2004 09:13:28 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 89648 invoked by uid 500); 3 Jul 2004 09:13:24 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 89474 invoked by uid 99); 3 Jul 2004 09:13:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [217.9.16.66] (HELO trick.mamasystems.de) (217.9.16.66) by apache.org (qpsmtpd/0.27.1) with SMTP; Sat, 03 Jul 2004 02:13:18 -0700 Received: (qmail 21935 invoked from network); 3 Jul 2004 09:12:44 -0000 Received: from unknown (HELO ?192.168.98.10?) (217.9.24.43) by mail.jamaris.com with SMTP; 3 Jul 2004 09:12:44 -0000 Mime-Version: 1.0 (Apple Message framework v618) Content-Transfer-Encoding: 7bit Message-Id: <260353A0-CCD1-11D8-82CD-000393DC6FC0@janheise.de> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: users@maven.apache.org From: Jan Heise Subject: Was: [Andromda-user] build failed 3.0M2-SNAPSHOT Date: Sat, 3 Jul 2004 11:12:46 +0200 X-Mailer: Apple Mail (2.618) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 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: 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