Compiling with jikes and jumping to errors

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
DoorToKaos
Posts: 2
Joined: Sun May 23, 2004 7:20 pm

Compiling with jikes and jumping to errors

Post by DoorToKaos »

Hi!

I've got a little problem. Compiling with jikes works just fine and jumping to errors works nearly perfect just one little problem:
Textad jumps always 3 columns for each used tab to far, i.e. the error is in column 13 and it jumps to 22 although I set the parameter +T=4 (the same value as in the TextPad options for tabs). This little Problem only occurs in lines that have a tab in it. I already tried to use a different value in the +T=X parameter but this makes the problem even worse (i.e. the displayed column doesn't match the real one where the error is located)...

To make the description complete here my options for compiling with jikes:
parameters: +E +T=4 -d <destination folder> -bootclasspath <java-sdk-folder> $File
capture output and sound alert when completed are checked
regular expression: ^\([A-Z]:[^:]+\):\([0-9]+\):\([0-9]+\):\([0-9]+\):\([0-9]+\):
file: 1, line: 2, column: 3

Displayed jikes error message (for example):
<file>:45:13:45:74: Semantic Error: No method named "prntln" <...>
on double click Texpad jumps to 45:22

Anyone got an idea how to solve this little problem?

<edit> I found out one thing: when I use spaces instead of tabs everything works fine... Any ideas, because i dont want to use spaces...
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

Have you tried +T=1 ?
DoorToKaos
Posts: 2
Joined: Sun May 23, 2004 7:20 pm

Post by DoorToKaos »

Yeah i did, but then the position of the error is displayed wrong.
Post Reply