14:13 | INFO  | o.m.s.e.m.b.PostJavaBuilder    - Refreshing language project eclipse:///relations
14:13 | INFO  | o.m.s.e.m.b.PostJavaBuilder    - Reloading language project eclipse:///relations
14:13 | ERROR | o.m.s.e.l.LanguageLoader       - Could not discover language at location eclipse:///relations
org.metaborg.core.MetaborgException: Cannot create language component at eclipse:///relations/bin.
The following errors occurred: 
  Stratego JAR file eclipse:///relations/bin/include/relations-java.jar does not exist

	at org.metaborg.spoofax.core.language.LanguageDiscoveryService.createComponent(LanguageDiscoveryService.java:221) ~[org.metaborg.spoofax.core_2.0.0.20160318-144650-master.jar:na]
	at org.metaborg.spoofax.core.language.LanguageDiscoveryService.discover(LanguageDiscoveryService.java:192) ~[org.metaborg.spoofax.core_2.0.0.20160318-144650-master.jar:na]
	at org.metaborg.spoofax.core.language.LanguageDiscoveryService.discover(LanguageDiscoveryService.java:199) ~[org.metaborg.spoofax.core_2.0.0.20160318-144650-master.jar:na]
	at org.metaborg.spoofax.core.language.LanguageDiscoveryService.discover(LanguageDiscoveryService.java:1) ~[org.metaborg.spoofax.core_2.0.0.20160318-144650-master.jar:na]
	at org.metaborg.spoofax.eclipse.language.LanguageLoader.load(LanguageLoader.java:96) ~[org.metaborg.spoofax.eclipse_2.0.0.20160318-144650-master.jar:na]
	at org.metaborg.spoofax.eclipse.language.LoadLanguageJob.run(LoadLanguageJob.java:28) [org.metaborg.spoofax.eclipse_2.0.0.20160318-144650-master.jar:na]
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) [org.eclipse.core.jobs_3.7.0.v20150330-2103.jar:na]

There is indeed no /bin/include/relations-java.jar, the include folder instead contains a copy of the all the folders in the root.

Eclipse: org.eclipse.platform.ide 4.5.2.M20160212-1500
Spoofax: org.metaborg.spoofax.eclipse
System: Mac OS X x86_64 10.11.3

Same issue on linux.

This is not an issue on:

Eclipse: epp.package.java
Spoofax: org.metaborg.spoofax.eclipse
System: Mac OS X x86_64 10.11.3
Submitted by Daco Harkes on 22 March 2016 at 14:27

On 22 March 2016 at 15:19 Daco Harkes commented:

The .classpath is missing, and the maven dependencies are missing.

Maven > Update Project doesn't do anything (it updates the classpath and dependencies in the working version).

On 29 March 2016 at 11:43 Daco Harkes commented:

The cause was a broken parent POM, which was in turn created by missing repositories.

The repositories can be found here: http://spoofax.readthedocs.org/en/latest/source/dev/maven.html?highlight=maven#advanced-project-pom-file .

The repositories need to be part of the POM for Maven2Eclipse. For the command-line Maven build the repositories can be part of .mvn/settings.xml, but not for M2E.

Issue can be closed.

On 29 March 2016 at 12:43 Gabriël Konat commented:

The repositories are back in the generated POM file for the new project wizard as well.

On 29 March 2016 at 12:43 Gabriël Konat closed this issue.

Log in to post comments