Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 95288 invoked from network); 15 Jan 2008 20:28:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jan 2008 20:28:40 -0000 Received: (qmail 50518 invoked by uid 500); 15 Jan 2008 20:28:29 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 50475 invoked by uid 500); 15 Jan 2008 20:28:29 -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 50463 invoked by uid 99); 15 Jan 2008 20:28:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2008 12:28:29 -0800 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 72.14.202.180 as permitted sender) Received: from [72.14.202.180] (HELO ro-out-1112.google.com) (72.14.202.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2008 20:28:03 +0000 Received: by ro-out-1112.google.com with SMTP id p4so3044355roc.4 for ; Tue, 15 Jan 2008 12:28:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=io2VAsFAWY+8pRIEDm6OvRsI8A9sbggEmvg/+NiPwNY=; b=Q/QhR7HcvJX5oGYkwnDR36gcamctWiaXK/RuXlPk4YHqW9W4TS0dLwibJ4PKikV1KG+sRmw2qE5Y+DluCzbsYTQCn+Na4IN30i/J83dWVC7fgEbp6qRqBisKdKPX30Kudw7RVHy9LSIZoYFwkqh2ZBQe8HaZ9ZfP68TNjExBIMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IALiiurhb3+oKkqiSed2VMHu7USQB95r4f8S8QteG7YkDEePzollNNfh1qesnOAE+LZsG7Dp8hAw1jV0PYJdV/Nnbkgiu9pVvYsnDV5mfxCXiaIb++dtdcUMCxaiZv16GQwMnwl++XiAFZwmQvi8/OU5PmnRNETpl7TuUBg9Fg4= Received: by 10.142.49.4 with SMTP id w4mr3444299wfw.204.1200428886686; Tue, 15 Jan 2008 12:28:06 -0800 (PST) Received: by 10.142.172.11 with HTTP; Tue, 15 Jan 2008 12:28:06 -0800 (PST) Message-ID: Date: Tue, 15 Jan 2008 20:28:06 +0000 From: "Peter Reilly" To: "Ant Developers List" , jd@sysbliss.com Subject: Re: Need build help In-Reply-To: <1200424218.4184.11.camel@jd-linux.ibsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1200416732.4323.14.camel@jd-linux.ibsys.com> <1200417594.4323.16.camel@jd-linux.ibsys.com> <1200424218.4184.11.camel@jd-linux.ibsys.com> X-Virus-Checked: Checked by ClamAV on apache.org Yes, this happens sometimes (need to look into it!). I would to ./build.sh, and then ./build.sh test Peter On Jan 15, 2008 7:10 PM, jonathan doklovic wrote: > I'm building using build.sh now, however if I do: > build.sh test > > the build fails with the following: > > check-failed: > java.io.FileNotFoundException: /ant-core/src/etc/testcases/taskdefs/optional/out/FailedTests.java (No such file or directory) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.(FileOutputStream.java:179) > at java.io.FileOutputStream.(FileOutputStream.java:131) > at > org.apache.tools.ant.taskdefs.optional.junit.FailureRecorder.writeJavaClass(FailureRecorder.java:248) > at > org.apache.tools.ant.taskdefs.optional.junit.FailureRecorder.taskFinished(FailureRecorder.java:410) > at > org.apache.tools.ant.Project.fireTaskFinished(Project.java:2117) > at org.apache.tools.ant.Task.perform(Task.java:364) > at org.apache.tools.ant.Target.execute(Target.java:354) > at org.apache.tools.ant.Target.performTasks(Target.java:379) > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1324) > at org.apache.tools.ant.Project.executeTarget(Project.java:1293) > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > at > org.apache.tools.ant.Project.executeTargets(Project.java:1176) > at org.apache.tools.ant.Main.runBuild(Main.java:758) > at org.apache.tools.ant.Main.startAnt(Main.java:217) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) > > test: > java.io.FileNotFoundException: /ant-core/src/etc/testcases/taskdefs/optional/out/FailedTests.java (No such file or directory) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.(FileOutputStream.java:179) > at java.io.FileOutputStream.(FileOutputStream.java:131) > at > org.apache.tools.ant.taskdefs.optional.junit.FailureRecorder.writeJavaClass(FailureRecorder.java:248) > at > org.apache.tools.ant.taskdefs.optional.junit.FailureRecorder.taskFinished(FailureRecorder.java:410) > at > org.apache.tools.ant.Project.fireTaskFinished(Project.java:2117) > at org.apache.tools.ant.Task.perform(Task.java:364) > at org.apache.tools.ant.Target.execute(Target.java:354) > at org.apache.tools.ant.Target.performTasks(Target.java:379) > at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1324) > at org.apache.tools.ant.Project.executeTarget(Project.java:1293) > at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > at > org.apache.tools.ant.Project.executeTargets(Project.java:1176) > at org.apache.tools.ant.Main.runBuild(Main.java:758) > at org.apache.tools.ant.Main.startAnt(Main.java:217) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) > > > > > On Tue, 2008-01-15 at 17:38 +0000, Peter Reilly wrote: > > On Jan 15, 2008 5:19 PM, jonathan doklovic wrote: > > > oops, sorry i missed that. > > > > > > Thanks, > > No problem, > > slightly better build instructions are in the manual: > > http://ant.apache.org/manual/install.html#buildingant > > Peter > > > > > > > > - Jonathan > > > > > > > > > On Tue, 2008-01-15 at 17:15 +0000, Peter Reilly wrote: > > > > You need to follow exactly the build instructions: > > > > > > > > 1) check out ant to ANT_SOURCE > > > > 2) cd to ANT_SOURCE > > > > 3) ensure that CLASSPATH env variable is empty > > > > 4) place optional jars in ANT_SOURCE/lib/optional > > > > 5) ./build.sh > > > > > > > > - i.e. do not use ant to build ant. > > > > > > > > Peter > > > > > > > > > > > > On Jan 15, 2008 5:05 PM, jonathan doklovic wrote: > > > > > Hi, > > > > > > > > > > I checked out the core trunk and tried to run the main target in the > > > > > build file. > > > > > > > > > > I get the following error: > > > > > > > > > > test-jar: > > > > > BUILD FAILED > > > > > ant-core/build.xml:859: We cannot build the test jar unless JUnit is > > > > > present, > > > > > as JUnit is needed to compile the test classes. > > > > > > > > > > Shouldn't the test-jar target be smart enough to figure out that if > > > > > junit.present = false then it should use the junit in the optional lib > > > > > dir? > > > > > > > > > > - Jonathan > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > 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 > > > > > > > > > > > > > --------------------------------------------------------------------- > > > 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 > > > > > --------------------------------------------------------------------- > 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