[TxMt] jumping to errors when compiling java code with ant

Lang Riley lang at langriley.com
Tue Dec 21 23:56:19 UTC 2004

Here is a command that will compile and jump to the line of the file 
with the error:

Before running command: Do nothing
Command: cd [directory where build.xml is located]; ant [your target to 
build source];
Standard Input: None
Standard Output: Show in separate window
Pattern: .*/(\w*.java):(\d+):(.*)
Format String: $1 $2 $3
File register: 1        Line: 2

Someone can improve on this to get the column and more error 
information too.  That would be nice.

More information about the textmate mailing list