Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 87085 invoked from network); 30 Jan 2007 14:53:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jan 2007 14:53:43 -0000 Received: (qmail 12547 invoked by uid 500); 30 Jan 2007 14:53:44 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 12514 invoked by uid 500); 30 Jan 2007 14:53:44 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 12502 invoked by uid 99); 30 Jan 2007 14:53:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jan 2007 06:53:44 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of aclose@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jan 2007 06:53:35 -0800 Received: by ug-out-1314.google.com with SMTP id m3so1528793ugc for ; Tue, 30 Jan 2007 06:53:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Hc8FkHO2eNs54kGUv8zUg1ANYC/ZAQs8Xr12HQ8fb+9Op1kHlkGwSYgxeHXvBUns1NeY6a6qlF0bZwqucWCQ5Qhtu+pAMcvxe1nzlIBWsSMYyiVbdBZvVV3bSNmj86+fJgdubnk62DSRk1Mkj5D1lnBeyLyud81Es+poJ94P++A= Received: by 10.78.185.7 with SMTP id i7mr4789925huf.1170168793291; Tue, 30 Jan 2007 06:53:13 -0800 (PST) Received: by 10.78.151.10 with HTTP; Tue, 30 Jan 2007 06:53:13 -0800 (PST) Message-ID: Date: Tue, 30 Jan 2007 08:53:13 -0600 From: "Andrew Close" To: "Ant Users List" Subject: Re: JUnit task and the 'fork' attribute... In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Peter, thanks for your response. the simple solution was to add the junit.jar to my ant lib/ dir. duh. thanks for 'reminding' me of the verbose feature. i'll try to be a bit more diligent in the future. ;) andy On 1/29/07, Peter Reilly wrote: > try with ant -verbose. > > This problem can happen with having old versions > of ant in the classpath of the forked junit task. > In this case the contents of lib.path should be looked > at. (common causes would be jars that have embedded > ant classes - fo example weblogic.jar and jrun.jar) > > In the current svn version of ant some diagnostics > has been added to check this condition. > > Peter > > > On 1/29/07, Andrew Close wrote: > > hello all, > > > > i'm attempting to get the fork attribute to work with the optional > > JUnit task. when attempting a build on this machine we are getting > > JVM OutOfMemoryErrors during the JUnit task. so i figured i would use > > the fork command and then be able to up the JVM heap size for that > > particular task. however i'm now getting 'Process fork failed' > > messages, but no details as to why. here is the target i'm using to > > invoke JUnit: > > > > > > > forkmode="${junit.forkmode}" > > maxmemory="${junit.maxmemory}" > > printsummary="${junit.printsummary}"> > > > > > > > > > > > > > > > > > > > > > > > > i've defined the following variables in my properties file: > > > > junit.compile.failonerror=true > > junit.fork=true > > junit.forkmode=perBatch (i've tried the default and other options as well...) > > junit.format.type=xml > > junit.maxmemory=512m > > junit.printsummary=withOutAndErr > > junit.report.format=frames > > > > in the stacktrace that gets printed during the JUnit task i see > > java.io.FileNotFoundException: junitvmwatcher1116665720.properties > > (The system cannot find the file specified) > > is this a prop file that should be created by the JUnit task? or do i > > still have something configured incorrectly? > > > > thanks for any insight. > > andy > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > > For additional commands, e-mail: user-help@ant.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org