ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: Possible bugs in task javac
Date Fri, 28 Jul 2000 06:40:07 GMT
>>>>> "AJ" == Anders Janmyr <anders.janmyr@movearound.com> 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 <Barrie.Treloar@camtech.com.au>
               '("^\\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

Mime
View raw message