21:20 | INFO  | s.e.m.b.GenerateSourcesBuilder - Cleaning and generating sources for language project eclipse:///icedust
21:20 | INFO  | .m.s.m.c.b.LanguageSpecBuilder - Deleting eclipse:///icedust/src-gen
21:20 | INFO  | .m.s.m.c.b.LanguageSpecBuilder - Deleting eclipse:///icedust/target
21:20 | ERROR | o.m.s.e.b.ProjectBuilder       - Cannot clean project eclipse:///icedust; cleaning failed unexpectedly
org.metaborg.core.build.dependency.MissingDependencyException: Language for dependency org.metaborg:org.metaborg.meta.lang.nabl:2.0.0 does not exist
	at org.metaborg.core.build.dependency.DefaultDependencyService.getLanguages(DefaultDependencyService.java:96) ~[org.metaborg.core_2.0.0.jar:na]
	at org.metaborg.core.build.dependency.DefaultDependencyService.compileDeps(DefaultDependencyService.java:40) ~[org.metaborg.core_2.0.0.jar:na]
	at org.metaborg.core.build.CleanInputBuilder.build(CleanInputBuilder.java:115) ~[org.metaborg.core_2.0.0.jar:na]
	at org.metaborg.spoofax.eclipse.build.ProjectBuilder.clean(ProjectBuilder.java:215) ~[org.metaborg.spoofax.eclipse_2.0.0.jar:na]
	at org.metaborg.spoofax.eclipse.build.ProjectBuilder.clean(ProjectBuilder.java:198) ~[org.metaborg.spoofax.eclipse_2.0.0.jar:na]
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:737) [org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na]
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) [org.eclipse.equinox.common_3.8.0.v20160509-1230.jar:na]
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206) [org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na]
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246) [org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na]
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301) [org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na]
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) [org.eclipse.equinox.common_3.8.0.v20160509-1230.jar:na]
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304) [org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na]
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263) [org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na]
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:403) [org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na]
	at org.eclipse.core.internal.resources.Project$1.run(Project.java:551) [org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na]
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240) [org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na]
	at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:529) [org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na]
	at org.eclipse.core.internal.resources.Project.build(Project.java:112) [org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na]
	at org.eclipse.ui.internal.ide.dialogs.CleanDialog.doClean(CleanDialog.java:319) [org.eclipse.ui.ide_3.12.0.v20160601-1609.jar:na]
	at org.eclipse.ui.internal.ide.dialogs.CleanDialog$1.runInWorkspace(CleanDialog.java:152) [org.eclipse.ui.ide_3.12.0.v20160601-1609.jar:na]
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39) [org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na]
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) [org.eclipse.core.jobs_3.8.0.v20160509-0411.jar:na]
Eclipse: org.eclipse.platform.ide 4.6.0.I20160606-1100
Spoofax: org.metaborg.spoofax.eclipse 2.0.0
System: Windows 10 amd64 10.0
Submitted by Daco Harkes on 26 August 2016 at 21:19

On 13 September 2016 at 13:12 Gabriël Konat commented:

For some reason the org.metaborg:org.metaborg.meta.lang.nabl:2.0.0 language was not available, causing an unresolved dependency error. Do you know why that would happen?


On 13 September 2016 at 13:24 Gabriël Konat tagged build

On 14 September 2016 at 18:36 Daco Harkes commented:

Cleaning works fine in the latest build.

Eclipse: org.eclipse.platform.ide 4.6.0.I20160606-1100
Spoofax: org.metaborg.spoofax.eclipse 2.1.0.20160914-142021-master
System: Windows 10 amd64 10.0

Spoofax Stable-2.0.0 probably still has this problem.


On 14 September 2016 at 20:21 Daco Harkes commented:

Though with commandline maven build:

[ERROR] Failed to execute goal org.metaborg:spoofax-maven-plugin:2.1.0-SNAPSHOT:clean (default-clean) on project icedust: Building clean input failed unexpectedly: Language for dependency org.metaborg:org.metaborg.meta.lang.nabl:2.1.0-SNAPSHOT does not exist -> [Help 1]

But I think this was caused by build 20160914-170556, that at the start of my maven build it was still 20160914-142021, but that the files got replaced in the mean time.

[ERROR] An error occurred while transferring artifact canonical: osgi.bundle,org.metaborg.spoofax.eclipse.util,2.1.0.20160914-142021-master from repository http://download.spoofax.org/update/nightly:
[ERROR]    Artifact not found: http://download.spoofax.org/update/nightly/plugins/org.metaborg.spoofax.eclipse.util_2.1.0.20160914-142021-master.jar.
[ERROR] Internal error: org.eclipse.tycho.repository.local.MirroringArtifactProvider$MirroringFailedException: Could not mirror artifact osgi.bundle,org.metaborg.spoofax.eclipse.util,2.1.0.20160914-142021-master into the local Maven repository.See log output for details. http://download.spoofax.org/update/nightly/plugins/org.metaborg.spoofax.eclipse.util_2.1.0.20160914-142021-master.jar -> [Help 1]

On 14 September 2016 at 20:29 Daco Harkes commented:

Nope, this is really the same error, deleting C:\Users\Daco\.m2\repository didn't help.


On 14 September 2016 at 20:49 Daco Harkes commented:

(idem for build without clean)

[ERROR] Failed to execute goal org.metaborg:spoofax-maven-plugin:2.1.0-SNAPSHOT:generate-sources (default-generate-sources) on project icedust: GENERATION FAILED: Language for dependency org.metaborg:org.metaborg.meta.lang.nabl:2.1.0-SNAPSHOT does not exist -> [Help 1]

On OS X I did exactly the same, including deleting the .m2/repository, and it works fine there...

Log in to post comments