Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 1723 invoked by uid 500); 29 Mar 2001 07:02:11 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 1714 invoked from network); 29 Mar 2001 07:02:10 -0000 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@bost.de using -f To: ant-dev@jakarta.apache.org Subject: Re: Another feature request?? References: <3.0.6.32.20010329012350.00b494b0@alphalink.com.au> From: Stefan Bodewig Date: 29 Mar 2001 09:02:16 +0200 Message-ID: Lines: 31 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Peter Donald wrote: > I think it would be a good idea to remove the attribute default from > project tag. Instead we could always call the main target. -1 I don't think it would make life any easier for users. > This change would mean that you would no longer have to think > (yaya!!!) when trying to figure out which target is running when no > parameters supplied. Just run "ant -projecthelp" and it will tell you. And even more, it will no only tell you its name, but also what it does (if the description attribute has been set). And even better, it will tell you what other targets are there and what to use them for. Far easier than looking at the build file at all. Finally I think your URL analogy shows a problem of this approach. Most users of the www won't even know what a port is, they'd have no idea that http://some.host/ was the same as http://some.host:80/. So the "pure user", someone who just has to invoke Ant, but not really fiddle with buildfiles - maybe he's just installing something that uses Ant as its installation tool - won't know that there is a "magic" target named main. Again "ant -projecthelp" would be the key, and it is already there. Stefan