Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 23259 invoked from network); 26 Feb 2002 15:46:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 26 Feb 2002 15:46:41 -0000 Received: (qmail 8966 invoked by uid 97); 26 Feb 2002 15:46:23 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 8898 invoked by uid 97); 26 Feb 2002 15:46:23 -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 8828 invoked from network); 26 Feb 2002 15:46:22 -0000 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-dev@jakarta.apache.org Subject: Re: optional task for etags References: <3C7B85EB.9030402@aepona.com> From: Stefan Bodewig Date: 26 Feb 2002 16:31:25 +0100 In-Reply-To: <3C7B85EB.9030402@aepona.com> Message-ID: Lines: 26 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, 26 Feb 2002, Damian O'Neill wrote: > Apologies if I am incorrect, I am unsure if this is the correct > mailing list, or the correct procedure for submitting this mail too. It is the correct mailing list. > If you feel that this maybe useful, feel free to use/distribute it. Some comments: * why do you run etags once for every file instead of passing more files to it at once? * You shouldn't use the one String-arg exec method, this will lead to trouble if the file names contain spaces. You better ... * use Ant's execution framework - see org.apache.tools.ant.taskdefs.Execute which will allow you to ... * specify the directory in which to create the TAGS file as the task will now always use the current working directory. Using Execute would also make the task more likely to work on non-Unix platforms although I don't know whether etags has been ported there. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: