Spoofax projects are not recognized with the nightly build Spoofax/IMP 1.2.0.0-s40429 using Eclipse Kepler (but this was also seen with older versions of Eclipse) with old and new workspaces.


Buildfile: /Users/eelcovisser/spoofax/workspace/dynsem/build.main.xml

check-classpath:

check-classpath.helper:
[echo] Could not load the Spoofax plugin loading classes.
[echo] Make sure it is on the class path.
[echo] In Eclipse, make sure the Ant builder is configured properly:
[echo] right-click on build.main.xml, go to Run as, Ant build…, JRE tab,
[echo] and ensure Run in the same JRE as the workspace is selected
[echo] alternatively, build the project using Build Project in the Project menu

BUILD FAILED
/Users/eelcovisser/spoofax/workspace/dynsem/build.generated.xml:157: The following error occurred while executing this line:
/Users/eelcovisser/spoofax/workspace/dynsem/build.generated.xml:175: No message

Total time: 253 milliseconds

Submitted by Eelco Visser on 2 September 2013 at 10:16

On 2 September 2013 at 11:51 Eelco Visser commented:

The solution seems to be an installation of Java 7. It is annoying that this requirement is not provided as a notification from Eclipse.


On 3 September 2013 at 07:52 Gabriël Konat commented:

We can add a warning for the Java 7 requirement like the one for wrong eclipse.ini parameters. Also, the build.generated.xml could include a check for Java 7, if this is possible to check in ant.


On 3 September 2013 at 09:11 Eelco Visser commented:

Would that also work for legacy projects?


On 3 September 2013 at 18:17 Gabriël Konat commented:

Yes


On 9 September 2013 at 11:40 Guido Wachsmuth commented:

I added Java 7 as a requirement and a download link to the download page.


On 7 October 2013 at 13:00 Gabriël Konat commented:

Added a check and warning in https://github.com/metaborg/spoofax/commit/988aa53fdc200d6076d4c1996f804565eb404621


On 7 October 2013 at 13:00 Gabriël Konat closed this issue.

Log in to post comments