Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 8401 invoked from network); 8 Jan 2003 07:24:54 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 8 Jan 2003 07:24:54 -0000 Received: (qmail 8750 invoked by uid 97); 8 Jan 2003 07:26:19 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 8734 invoked by uid 97); 8 Jan 2003 07:26:18 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 8722 invoked by uid 98); 8 Jan 2003 07:26:18 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) X-Injected-Via-Gmane: http://gmane.org/ To: ant-dev@jakarta.apache.org Path: not-for-mail From: Costin Manolache Subject: Re: No default target Date: Tue, 07 Jan 2003 23:15:20 -0800 Lines: 29 Message-ID: References: <3E1BBB91.7060005@cortexebusiness.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@main.gmane.org User-Agent: KNode/0.7.1 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Conor MacNeill wrote: > What is the expected output of > > > > > > Currently I get > > Buildfile: src/etc/testcases/core/topleveltasks/nodefault.xml > [echo] Called > [echo] Called > > I expected either one "Called" or an error. > > I can't reproduce this in a testcase - there it is only produced once so I > guess this is something to do with the pseudo target introduced for > top-level tasks somehow becoming the default. When ProjectHelper2 was started, the main branch didn't required a default. This was rolled back in main. The behavior is clearly broken - the top level should be executed only once. The easiest fix is to add back the requirement for a default target. But that would mean that projects with only top-level tasks won't work. Do we want to keep the required default ? Costin -- To unsubscribe, e-mail: For additional commands, e-mail: