ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Possible bugs in task javac
Date Fri, 28 Jul 2000 06:40:07 GMT
>>>>> "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
1 2 3)
               ;; works for javac 
               ;; thanks to Barrie Treloar <>
               '("^\\s-*\\[[^]]*\\]\\s-*\\(.+\\):\\([0-9]+\\):" 1 2))

in .emacs should help for all combinations of jikes/javac and GNU/X

Newer versions of Ant have the -emacs switch Pete mentioned.


View raw message