Only seen this once. The <delete file="include/...rtree"> line in build.generated.xml apparently doesn’t always take when first building the project.

A workaround for this is to change/touch some Stratego file and then rebuild the project.

A better solution for this would be to add an extra option to the compiler suppress the generation of this signature file.

This problem might only occur on Windows?

Submitted by Lennart Kats on 28 April 2010 at 22:46

On 3 May 2010 at 17:03 Lennart Kats commented:

I think this was caused by using memory-mapped IO (see Spoofax/106 and Spoofax/112). It’s extremely hard to reproduce, but unless it’s reported again I’ll mark this one as fixed for 0.4.5.


On 12 June 2010 at 12:37 Lennart Kats commented:

Bernhard Merkle reported this problem occurred again with version 0.5.0. Maybe the <delete file> workaround doesn’t always take?


On 12 June 2010 at 12:38 Lennart Kats reopened this issue.

On 1 December 2010 at 12:14 Lennart Kats commented:

We’ve also had a report from a single student (Windows user iirc) with this problem in 0.5.2.


On 3 December 2010 at 14:17 Lennart Kats commented:

This new problem seems to be caused by a “corrupted” .cache directory. It seems the editor caches the temporary include/<langname>.rtree file in some cases, forever overriding the include/<langname>.str file. Quick workaround is to remove the .cache dir.


On 5 December 2010 at 13:01 Lennart Kats tagged pitfall

On 9 December 2010 at 14:47 Lennart Kats tagged 0.61

On 22 June 2011 at 12:00 Federico Tomassetti commented:

I have these errors on the new project created by the wizard.

On Windows 7, Spoofax 0.6.0.2

Conflicts with external definition of ‘editor-analyze’ on line 16 of the *.str file (more similar errors appear in the file).

I tried touching the files and regenerating and the errors are still there.


On 23 June 2011 at 17:41 Lennart Kats commented:

@Federico:

I just tried it on a Windows 7 installation, and I don’t seem to have that problem. Perhaps you could try with a more recent build from the unstable channel at http://lclnet.nl/update/unstable? You could also try deleting the errors from the problems view (just hit del) and see if they re-appear? Or perhaps you should create a new project and see if the problem persists?


On 23 November 2011 at 16:29 Lennart Kats removed tag 0.61

On 23 November 2011 at 16:29 Lennart Kats tagged 1.0

On 23 November 2011 at 16:29 Lennart Kats removed tag 1.0

On 23 November 2011 at 16:29 Lennart Kats tagged 1.1

On 8 January 2013 at 12:56 Eelco Visser removed tag 1.1

On 8 January 2013 at 12:56 Eelco Visser tagged interesting

On 8 January 2013 at 16:14 Eelco Visser removed tag @lennartkats

On 8 January 2013 at 16:14 Eelco Visser tagged abandoned

On 8 January 2013 at 16:15 Eelco Visser commented:

Abandoned: Not clear this is still an issue.


On 8 January 2013 at 16:15 Eelco Visser closed this issue.

On 8 January 2013 at 17:39 Gabriël Konat removed tag interesting

Log in to post comments