Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 15750 invoked from network); 28 Jul 2000 06:40:09 -0000 Received: from public.ndh.net (HELO public.ndh.com) (195.94.90.21) by locus.apache.org with SMTP; 28 Jul 2000 06:40:09 -0000 Received: from sbodewig.bost.de ([195.227.98.11]) by public.ndh.com (8.9.3/8.8.0) with ESMTP id IAA16291 for ; Fri, 28 Jul 2000 08:40:06 +0200 (MET DST) Received: (from bodewig@localhost) by sbodewig.bost.de (8.9.3/8.9.3) id IAA07293; Fri, 28 Jul 2000 08:40:07 +0200 X-Authentication-Warning: sbodewig.bost.de: bodewig set sender to bodewig@bost.de using -f To: ant-user@jakarta.apache.org Subject: Re: Possible bugs in task javac References: <001601bff7af$6f706e80$6528010a@mmo.moveAround.com> From: Stefan Bodewig Date: 28 Jul 2000 08:40:07 +0200 In-Reply-To: "Anders Janmyr"'s message of "Thu, 27 Jul 2000 11:45:43 +0200" Message-ID: Lines: 25 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N >>>>> "AJ" == Anders Janmyr writes: AJ> Also when I use ant from inside emacs I am not able to AJ> automatically move to the next error in the erroneous AJ> file. Instead emacs is trying to look for the build.xml file. I've added an entry to the FAQ but as this hasn't been released by the maintainer yet: (require 'compile) (setq compilation-error-regexp-alist (append (list ;; works for jikes '("^\\s-*\\[[^]]*\\]\\s-*\\(.+\\):\\([0-9]+\\):\\([0-9]+\\):[0-9]+:[0-9]+:" 1 2 3) ;; works for javac ;; thanks to Barrie Treloar '("^\\s-*\\[[^]]*\\]\\s-*\\(.+\\):\\([0-9]+\\):" 1 2)) compilation-error-regexp-alist)) in .emacs should help for all combinations of jikes/javac and GNU/X Emacs. Newer versions of Ant have the -emacs switch Pete mentioned. Stefan