ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrie Treloar <Barrie.Trel...@camtech.com.au>
Subject Re: Ant + Emacs compilation mode (elisp code provided)
Date Fri, 21 Jul 2000 00:24:55 GMT
On 20 Jul 2000, Stefan Bodewig wrote:

> >>>>> "BT" == Barrie Treloar <Barrie.Treloar@camtech.com.au> writes:
> 
>  BT> The other problem was that compilation-error-regexp-alist is
>  BT> buffer local so the add-list modifies the global value and the
>  BT> local value stays unchanged.
> 
> I thought this would be a transient XEmacs problem (I've already filed
> a bug report) because other people could not reproduce my
> problems. Why did you drop the column part?

Because the Javac task doesn't generate a column value and I couldn't
figure out how to make it the matching on the column part optional so
it still works if its not there :) 

You might be able to do it by adding \\(:\\([0-9]+\\)\\)?
So the regexp becomes:

             '("^\\s-*\\[[^]]*\\]\\s-*\\(.+\\):\\([0-9]+\\)\\(:\\([0-9]+\\)\\)?:" 1 2 4))

But since suns jdk doesn't generate the column value I can't test it.
If someone wants to add that in and repost I wont complain.

Barrie
--
Barrie Treloar
____________________________________________________________________

  Barrie Treloar                      Phone: +61 8 8303 3300
  Senior Analyst/Programmer           Fax:   +61 8 8303 4403 
  Electronic Commerce Division        Email: barrie@camtech.com.au
  Camtech (SA) Pty Ltd                http://www.camtech.com.au
 --- Level 8, 10 Pulteney Street, Adelaide SA 5000, Australia. ---
____________________________________________________________________



Mime
View raw message