Related to https://yellowgrass.org/issue/Spoofax/719. Invoking a builder (e.g. Show AST) for a file that does not have an associated project fails hard:

java.io.FileNotFoundException: File not in workspace: /Users/user/Applications/Eclipses/Spoofax-nightly/Eclipse.app/Contents/MacOS/string.aterm
at org.strategoxt.imp.runtime.stratego.EditorIOAgent.getResource(EditorIOAgent.java:174)
at org.strategoxt.imp.runtime.stratego.EditorIOAgent.getResource(EditorIOAgent.java:157)
at org.strategoxt.imp.runtime.stratego.EditorIOAgent.getFile(EditorIOAgent.java:145)
at org.strategoxt.imp.runtime.services.StrategoBuilder.getFile(StrategoBuilder.java:276)
at org.strategoxt.imp.runtime.services.StrategoBuilder.execute(StrategoBuilder.java:214)
at org.strategoxt.imp.runtime.services.StrategoBuilder.access$1(StrategoBuilder.java:177)
at org.strategoxt.imp.runtime.services.StrategoBuilder$1.run(StrategoBuilder.java:164)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Submitted by Vlad Vergu on 27 August 2013 at 19:08

On 27 August 2013 at 19:15 Vlad Vergu removed tag error

On 27 August 2013 at 19:15 Vlad Vergu tagged improvement

On 27 August 2013 at 19:15 Vlad Vergu tagged minor

On 27 August 2013 at 19:15 Vlad Vergu commented:

This appears to be an unhandled case in the JDT as well.

Log in to post comments