"Conflicts with external definition" errors in clean/correct project
Only seen this once. The
<delete file="include/...rtree">
line inbuild.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
Issue Log
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.
Bernhard Merkle reported this problem occurred again with version 0.5.0. Maybe the
<delete file>
workaround doesn’t always take?
We’ve also had a report from a single student (Windows user iirc) with this problem in 0.5.2.
This new problem seems to be caused by a “corrupted”
.cache
directory. It seems the editor caches the temporaryinclude/<langname>.rtree
file in some cases, forever overriding theinclude/<langname>.str
file. Quick workaround is to remove the.cache
dir.
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.
@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?
Abandoned: Not clear this is still an issue.
Log in to post comments