views:

60

answers:

1

Ant has a -e option for outputting error messages that can be parsed by emacs' compile command. For example, it is possible to do M-x compile, ant -e, then nagivate to any errors with C-x `.

Is it possible to make grails output its compilation errors in this format? Alternatively, is there an emacs variable that can be customized to handle error messages in the format that grails uses?

+1  A: 

I don't know what grails errors look like, but you can probably use compilation-error-regexp-alist. It's quite flexible.

Ivan Andrus