Could not find org.strategoxt.imp.generator.sdf2imp
Hi Spoofax Team,
when I installed Eclipse 3.6. freshly, and added Spoofax 0.5.1.91 I can create a new Spoofax Project.
When doing this the system runs the build.main.xml Script with success - everything is fine.
But when I re-run the build.main.xml Script with “Run as… Ant Script” I get an halt/error after a view steps:
C:\Users\myusername\Desktop\eclipse-SDK-3.6-win32\workspace\abc\build.generated.xml:62: Could not find org.strategoxt.imp.generator.sdf2imp. Make sure you have it in your classpath
Why is this occuring?
Submitted on 22 July 2010 at 14:53
Regards,
Hape
Issue Log
Thanks for your detailed issue report! It looks like this is a regression caused by Spoofax/155. This problem should not affect existing projects created with earlier Spoofax versions, only those created with
0.5.1
. Fixing this issue may require a bit more testing, but we will include the fix with the next release.For now, you can build your project by using the Project > Build project menu (or hit control-alt-B). Alternatively, you can manually configure the Ant builder to build properly by right clicking on the
build.main.xml
file and selecting Run as > External Tools Configuration > JRE tab > Run in the same JRE as the workspace.
Version 0.5.2 (r21140, to be released) addresses this issue. It also adds a sanity check with an error message saying what to do if the classpath happens to be misconfigured.
Log in to post comments