I generate a project using the wizard, including an examples project and testing project.

The Wizard fails with error pop-up with message "Invalid project description". I have to cancel the wizard dialog to continue. It has generated the language project and examples project, but not the unit testing project.

This seems to be an issue with generating a project in a non-default location

To reproduce:

  • name: org.metaborg.lang.wizard
  • generate in non-default location
  • browse and create directory org.metaborg.lang.wizard to hold the project (if I don't do this, the project folders are created in the parent directory where I would the projects to be)

I also get 'transformation failed' errors in Main.esv, Wizard.sdf3 and Common.sdf3, but the location seems to be the issue

Error log

/Users/eelcovisser/Dropbox/03-Research/MetaBorgCube/metaborg-wizard overlaps the location of another project: 'org.metaborg.lang.wizard.example' Generating project failed in org.metaborg.spoofax.eclipse.meta.wizard.CreateLangSpecWizard (main) org.eclipse.core.internal.resources.ResourceException: Invalid project description. at org.eclipse.core.internal.resources.Project.checkDescription(Project.java:169) ~[org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na] at org.eclipse.core.internal.resources.Project.assertCreateRequirements(Project.java:53) ~[org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na] at org.eclipse.core.internal.resources.Project.create(Project.java:263) ~[org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na] at org.eclipse.core.internal.resources.Project.create(Project.java:247) ~[org.eclipse.core.resources_3.11.0.v20160503-1608.jar:na] at org.metaborg.spoofax.eclipse.meta.wizard.CreateLangSpecWizard.createProject(CreateLangSpecWizard.java:356) ~[org.metaborg.spoofax.eclipse.meta_2.1.0.scopes-and-frames-6.jar:na] at org.metaborg.spoofax.eclipse.meta.wizard.CreateLangSpecWizard.createTestProject(CreateLangSpecWizard.java:260) ~[org.metaborg.spoofax.eclipse.meta_2.1.0.scopes-and-frames-6.jar:na] at org.metaborg.spoofax.eclipse.meta.wizard.CreateLangSpecWizard.createAll(CreateLangSpecWizard.java:165) ~[org.metaborg.spoofax.eclipse.meta_2.1.0.scopes-and-frames-6.jar:na] at org.metaborg.spoofax.eclipse.meta.wizard.CreateLangSpecWizard.access$0(CreateLangSpecWizard.java:135) ~[org.metaborg.spoofax.eclipse.meta_2.1.0.scopes-and-frames-6.jar:na] at org.metaborg.spoofax.eclipse.meta.wizard.CreateLangSpecWizard$1.run(CreateLangSpecWizard.java:111) ~[org.metaborg.spoofax.eclipse.meta_2.1.0.scopes-and-frames-6.jar:na] at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119) ~[org.eclipse.jface_3.12.0.v20160518-1929.jar:na]

Exception stack Trace:

org.eclipse.core.internal.resources.ResourceException: Invalid project description.
at org.eclipse.core.internal.resources.Project.checkDescription(Project.java:169)
at org.eclipse.core.internal.resources.Project.assertCreateRequirements(Project.java:53)
at org.eclipse.core.internal.resources.Project.create(Project.java:263)
at org.eclipse.core.internal.resources.Project.create(Project.java:247)
at org.metaborg.spoofax.eclipse.meta.wizard.CreateLangSpecWizard.createProject(CreateLangSpecWizard.java:356)
at org.metaborg.spoofax.eclipse.meta.wizard.CreateLangSpecWizard.createTestProject(CreateLangSpecWizard.java:260)
at org.metaborg.spoofax.eclipse.meta.wizard.CreateLangSpecWizard.createAll(CreateLangSpecWizard.java:165)
at org.metaborg.spoofax.eclipse.meta.wizard.CreateLangSpecWizard.access$0(CreateLangSpecWizard.java:135)
at org.metaborg.spoofax.eclipse.meta.wizard.CreateLangSpecWizard$1.run(CreateLangSpecWizard.java:111)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Contains: OK
Contains: /Users/eelcovisser/Dropbox/03-Research/MetaBorgCube/metaborg-wizard overlaps the location of another project: 'org.metaborg.lang.wizard.example'

Submitted by Eelco Visser on 11 August 2016 at 10:22

On 17 August 2016 at 14:38 Gabriël Konat commented:

This should be fixed in a new nightly version.


On 17 August 2016 at 14:38 Gabriël Konat closed this issue.

Log in to post comments