ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pjdon...@cs.latrobe.edu.au>
Subject Re: Using editors in conjunction with ant's <javac> output
Date Wed, 11 Oct 2000 12:22:50 GMT
At 11:42  11/10/00 +0100, you wrote:
>Peter Donald wrote:
>> 
>> At 05:55  10/10/00 -0700, you wrote:
>> >I know some people are using the emacs-output capability of jikes
>> >(although, since I'm not an emacs person, I'm not entirely sure how
>> >they're actually doing that, so if anyone wants to share an example, I'd
>> >certainly be interested in seeing it)... but is anyone using ant in
>> >conjunction with any other editors, say JBuilder, VCafe, or even 'vi' to
>> >do all the on-error-go-to-source-file-at-that-line stuff? Is any of that
>> >even doable? (And the logical follow-up question: How? :)
>> 
>> Well I know it is possible in some versions of vi (probably vim). To do it
>> you need to specify -emacs on commandline and then place the below property
>> somewhere in build file.
>> 
>> <property name="build.compiler.emacs" value="on"/>
>> 
>
>This is better, but the output now contains
>'filename:number:number:number:number' rather than just the ordinary
>'filename:number'. This still upsets my poor emacs.
>
>I assume the four numbers represent start row, start column, end row,
>end column for a range that represents the error, for highlighting or
>whatever. If I'm right, does anyone know how to get Emacs to handle
>this??!

hmmm - gnu emacs works with this and last version of XEmacs works with
this. What version do you have ? Stefan placed a topic in FAQ about latest
XEmacs - you may want to have a look at that. If not do you have one of
those wierd emacs'es  ? or an old version ?

Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*

Mime
View raw message