At 02:47 1/5/01 -0500, Johnson, Robert wrote:
>I am currently using ant and I would like to change the format of the errors
>that are reported so I can use the "double click" functionality of my editor
>(Dev Studio 6)
>
>Currently the error looks as follows in ant when using the -emacs flag:
>
>c:\test\test.java:22: Error
>
>I would like to change the output slightly to:
>
>c:\test\test.java(22): Error
>
>Is there any way to do this?
It is done by underlying compiler so I am not sur eit can be altered there.
You may be able to gert around it by implementing a BuildListener and
overiding messageLogged to transform from one style to another.
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*