Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 79945 invoked from network); 26 Oct 2007 11:32:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2007 11:32:20 -0000 Received: (qmail 5167 invoked by uid 500); 26 Oct 2007 11:32:06 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 5132 invoked by uid 500); 26 Oct 2007 11:32:05 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 5115 invoked by uid 99); 26 Oct 2007 11:32:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 04:32:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of peter.kitt.reilly@gmail.com designates 64.233.162.237 as permitted sender) Received: from [64.233.162.237] (HELO nz-out-0506.google.com) (64.233.162.237) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 11:32:09 +0000 Received: by nz-out-0506.google.com with SMTP id r28so707589nza for ; Fri, 26 Oct 2007 04:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=I0Gr3c6mB+3/C4s0Mt3crTj1oq6CcbPIhPBRRRyQBek=; b=dwEKEPFMsSxJKsRIiOH0g1thvVX2a6FnYtIWJkZXm1CnMAzmra7A2kmwkEr0+adNG2x78ey+NZGxsV1z6+s1DDfVMOoJG0r32UE33XjbgcSbw/elW4XG8uZu/b/2WZHtkc9SV2svGt5aQIivgDx+Sr8eqLbm2gq1vwSAe13IEeA= 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=Jtni94XAwtM2yqN0me3YyPWeFe5z3fXDTtPyp6dnjT2g9icQdEacyjTsBbhze2Y539iD2QXj5j1KigpCCrHpCgiE+bhJ+sD0pXzKoEm23Cpn5dC/WtRwBMYKpKDfbSsMi0Ixwem2a0Vr6T95j9G0yC1AuceQ+b0uNdkl/djQotI= Received: by 10.114.12.9 with SMTP id 9mr3362644wal.1193398307676; Fri, 26 Oct 2007 04:31:47 -0700 (PDT) Received: by 10.114.198.4 with HTTP; Fri, 26 Oct 2007 04:31:47 -0700 (PDT) Message-ID: Date: Fri, 26 Oct 2007 12:31:47 +0100 From: "Peter Reilly" To: "Ant Developers List" Subject: Re: [GUMP@vmgump]: Project test-ant (in module ant) failed In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org On 10/26/07, Jan.Materne@rzf.fin-nrw.de wrote: > http://vmgump.apache.org/gump/public/ant/test-ant/gump_work/build_ant_te > st-ant.html > > > [junit] Testsuite: > org.apache.tools.ant.taskdefs.optional.junit.JUnitTaskTest > [junit] Tests run: 10, Failures: 0, Errors: 1, Time elapsed: 34.687 > sec > [junit] > [junit] ------------- Standard Output --------------- > [junit] > /srv/gump/public/workspace/ant/src/etc/testcases/taskdefs/optional/junit > .xml:194: Compile failed; see the compiler error output for details.) > [junit] ------------- ---------------- --------------- > [junit] Testcase: > testFailureRecorder(org.apache.tools.ant.taskdefs.optional.junit.JUnitTa > skTest): Caused an ERROR > [junit] The following error occurred while executing this line: > [junit] > /srv/gump/public/workspace/ant/src/etc/testcases/taskdefs/optional/junit > .xml:194: Compile failed; see the compiler error output for details. > [junit] > /srv/gump/public/workspace/ant/src/etc/testcases/taskdefs/optional/junit > .xml:223: The following error occurred while executing this line: > [junit] > /srv/gump/public/workspace/ant/src/etc/testcases/taskdefs/optional/junit > .xml:194: Compile failed; see the compiler error output for details. > [junit] Caused by: > /srv/gump/public/workspace/ant/src/etc/testcases/taskdefs/optional/junit > .xml:194: Compile failed; see the compiler error output for details. > [junit] --- Nested Exception --- > [junit] > /srv/gump/public/workspace/ant/src/etc/testcases/taskdefs/optional/junit > .xml:194: Compile failed; see the compiler error output for details. > [junit] > [junit] > [junit] Test > org.apache.tools.ant.taskdefs.optional.junit.JUnitTaskTest FAILED > > > > java.io.FileNotFoundException: > /srv/gump/public/workspace/ant/src/etc/testcases/taskdefs/optional/out/F > ailedTests.java (No such file or directory) > at > org.apache.tools.ant.taskdefs.optional.junit.FailureRecorder.writeJavaCl > ass(FailureRecorder.java:248) > > > > private void writeJavaClass() { > ... > File sourceFile = new File((getLocationName() + ".java")); > ... > writer = new PrintWriter(new FileOutputStream(sourceFile)); > ... > } > private String getLocationName() { > locationName = > // 1. value of Ant-property ant.junit.failureCollector > // 2. value of System-property ant.junit.failureCollector > // 3. defaults to System.getProperty("java.io.tmpdir") + > "FailedTests"; > File locationFile = new File(locationName); > if (!locationFile.isAbsolute()) { > File f = new File(getProject().getBaseDir(), locationName); > locationName = f.getAbsolutePath(); > } > return locationName; > } > > > > Do you know why there is that IOException? Most likely it needs to create the directory. Peter > > > Jan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org