The path variable (_, path, _) given in editor-analyze seems to be prefixed with the partition character in windows. “C:test/tests.spt” instead of “test/tests.spt”.

Submitted by Gabriël Konat on 10 February 2012 at 11:34

On 10 February 2012 at 11:34 Gabriël Konat tagged windows

On 10 February 2012 at 14:50 Lennart Kats closed this issue.

On 10 February 2012 at 14:50 Lennart Kats commented:

Should be fixed in r24289.


On 10 February 2012 at 14:55 Lennart Kats tagged 1.1

On 10 February 2012 at 14:55 Lennart Kats tagged @lennartkats

On 10 February 2012 at 15:23 Gabriël Konat reopened this issue.

On 10 February 2012 at 15:24 Gabriël Konat commented:

Not fixed, problem is in editor-analyze of Spoofax, not the index library.


On 11 February 2012 at 14:12 Lennart Kats commented:

Okay, I was wondering about that, and assumed it was in the index library? If that’s not the case, it’s caused by InputTermBuilder.java:145 (the call to removeFirstSegments). Because of a bug in the Eclipse API I had to change the way it finds the relative and absolute paths in case the file was deleted… Maybe r24293 fixes it? Otherwise it needs debugging on Windows.


On 12 February 2012 at 13:44 Gabriël Konat closed this issue.

On 12 February 2012 at 13:44 Gabriël Konat commented:

Fixed by setting device to the empty string: .setDevice("").toPortableString();

Log in to post comments