Search code examples
eclipseeclipse-plugineclipse-junosicstus-prolog

What happened to "Compile Prolog Code" (Alt+K) in the SICStus Eclipse SPIDER menu in Juno?


I just upgraded from Eclipse Indigo to the Classic Eclipse 4.2 Juno, by downloading from this URL: ftp://ftp.uninett.no/pub/eclipse/eclipse/downloads/drops4/R-4.2-201206081400/eclipse-SDK-4.2-win32-x86_64.zip

I installed the SPIDER in Eclipse Juno, from this update URL: http://www.sics.se/sicstus/update/

Now, when I start Juno, I am no longer able to use the shortcut ALT+K to compile the current Prolog code. The option is also removed from the SICStus menu provided by the SPIDER.

Can anyone please explain why this is happening, or how to deal with it? I would like to compile my code without a lot of typing! Thanks. I've tried using both the same workspace as before, and a completely new workspace.

EDIT: I'm on a Win7 64bit system, with a fresh Juno Classic installation (except the SPIDER plugin), and a brand new workspace.

EDIT2: Alt+K seems to appear for the first newly created or opened file, but when I do "File -> Open" on other *.pl files, the Alt+K option on the SICStus menu "moves" to work for ONLY this new file (and no longer for the other files). This behavior seems very weird to me.

EDIT3: After some support-answers from Per Mildner I'm able to get this "almost working", e.g. for freshly opened files, one at a time. I'm now waiting for him to come back from holidays in August, or for someone else to provide a better and more permanent solution to this weird problem.


Solution

  • The problem was caused by an incompatibility between Eclipse 4.2 and earlier releases. The problem has been fixed in the latest version of SPIDER (0.0.42).

    (I am the author of SPIDER)