Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 43639 invoked from network); 27 Mar 2008 14:49:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2008 14:49:45 -0000 Received: (qmail 47400 invoked by uid 500); 27 Mar 2008 14:49:38 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 47368 invoked by uid 500); 27 Mar 2008 14:49:38 -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 47329 invoked by uid 99); 27 Mar 2008 14:49:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 07:49:38 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rbuck@verisign.com designates 216.168.239.75 as permitted sender) Received: from [216.168.239.75] (HELO osprey.verisign.com) (216.168.239.75) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 14:48:59 +0000 Received: from dul1wnexcn01.vcorp.ad.vrsn.com (dul1wnexcn01.vcorp.ad.vrsn.com [10.170.12.138]) by osprey.verisign.com (8.13.6/8.13.4) with ESMTP id m2REcGXK026366 for ; Thu, 27 Mar 2008 09:38:16 -0500 Received: from DUL1WNEXMB05.vcorp.ad.vrsn.com ([10.170.12.240]) by dul1wnexcn01.vcorp.ad.vrsn.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 27 Mar 2008 10:49:09 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: NPE in Ant 1.7.0 Date: Thu, 27 Mar 2008 10:49:28 -0400 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: NPE in Ant 1.7.0 Thread-Index: AciQFJ5nrxnYnGFwT7aT4p+n3Ss5SQAAH4SAAACppSAAAHxwYA== References: From: "Buck, Robert" To: "Ant Users List" X-OriginalArrivalTime: 27 Mar 2008 14:49:09.0868 (UTC) FILETIME=[B6FD12C0:01C89019] X-Virus-Checked: Checked by ClamAV on apache.org No, not simply "ant", rather "ant init clean".=20 -----Original Message----- From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]=20 Sent: Thursday, March 27, 2008 10:38 AM To: user@ant.apache.org Subject: AW: NPE in Ant 1.7.0 That works for me: ${ant.version} test C:\TEMP>ant Buildfile: build.xml [echo] Apache Ant version 1.7.1beta compiled on March 18 2008 init: [echo] test BUILD SUCCESSFUL JDK 1.6.0_02-b05 @ WinXP SP2 Jan =20 > -----Urspr=FCngliche Nachricht----- > Von: Buck, Robert [mailto:rbuck@verisign.com] > Gesendet: Donnerstag, 27. M=E4rz 2008 15:19 > An: Ant Users List > Betreff: RE: NPE in Ant 1.7.0 >=20 > Hi Peter, >=20 > I added a bug report a few minutes ago; the bug number is: >=20 > https://issues.apache.org/bugzilla/show_bug.cgi?id=3D44689 >=20 > We have a fairly complex build system at VeriSign, so obviously we=20 > would love to see this fixed in 1.7.1. We cannot run multiple targets, = > ever. >=20 > /Bob >=20 > -----Original Message----- > From: Peter Reilly [mailto:peter.kitt.reilly@gmail.com] > Sent: Thursday, March 27, 2008 10:12 AM > To: Ant Users List > Subject: Re: NPE in Ant 1.7.0 >=20 > Thanks for report - and the build file. >=20 > This has not been reported before, please add a bug report. >=20 > This error is also present int the ant 1.7.1beta build and the trunk. >=20 > In general, however, ant 1.7.0 can support multiple targets, I (and a=20 > gillzillion others) use them all the time), there must be something in = > the build.xml that triggers an edge condition (in > RuntimeConfigurable.java:381) > - the use of references to tasks may be the root cause. >=20 > Peter >=20 > On Thu, Mar 27, 2008 at 1:52 PM, Buck, Robert > wrote: > > Has this bug been reported yet? > > > > Run "ant init clean" and you get an NPE. Basically, Ant > will not run >=20 > > multiple targets, which is a pretty huge limitation. > > > > > > > > > > test > > > > > > > > Apache Ant version 1.7.1beta compiled on March 18 2008=20 > > D:\dev\thirdparty\shared\apache-ant-1.7.1beta>ant -f > antfails.xml init >=20 > > clean > > Buildfile: antfails.xml > > > > init: > > [echo] test > > > > init: > > > > BUILD FAILED > > java.lang.NullPointerException > > at > > =20 > >=20 > org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigu > > ra > > ble.java:381) > > at > > =20 > >=20 > org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigu > > ra > > ble.java:349) > > at org.apache.tools.ant.Task.maybeConfigure(Task.java:202) > > at org.apache.tools.ant.Task.perform(Task.java:347) > > at org.apache.tools.ant.Target.execute(Target.java:357) > > at org.apache.tools.ant.Target.performTasks(Target.java:385) > > at > > =20 > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) > > at > org.apache.tools.ant.Project.executeTarget(Project.java:1306) > > at > > =20 > >=20 > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExec > > ut > > or.java:41) > > at > > org.apache.tools.ant.Project.executeTargets(Project.java:1189) > > 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) > > > > Total time: 0 seconds > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional = > commands, e-mail: user-help@ant.apache.org >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional = > commands, e-mail: user-help@ant.apache.org >=20 >=20 --------------------------------------------------------------------- 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