Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Generation in New Workspace is not possible #385

Closed
laverman opened this issue Aug 17, 2016 · 1 comment
Closed

Code Generation in New Workspace is not possible #385

laverman opened this issue Aug 17, 2016 · 1 comment

Comments

@laverman
Copy link

Prerequisites

  • Start a new Vorto IDE (either build from git-development, or via update-site).
  • Create a new Workspace
  • Create new Models (FBs, IMs)

Actions Taken

  • Right-click on FB or IM and click on Generate Code

Expected Result
A list of available Code Generators is shown

Actual Result
The menu item Generate Code is disabled (grayed out). If launched as a Eclipse Application, the following error trace is given:

!ENTRY org.eclipse.ui 4 4 2016-08-17 09:01:10.446
!MESSAGE Unable to create menu item "org.eclipse.vorto.codegen.dynamic.menu.contribution.item.id", command "org.eclipse.vorto.codegen.generator.command.id" not defined

!ENTRY org.eclipse.ui 4 4 2016-08-17 09:01:10.475
!MESSAGE Unable to create menu item "org.eclipse.vorto.codegen.dynamic.menu.contribution.item.id", command "org.eclipse.vorto.codegen.generator.command.id" not defined

!ENTRY org.eclipse.ui 4 4 2016-08-17 09:01:10.476
!MESSAGE Unable to create menu item "org.eclipse.vorto.codegen.dynamic.menu.contribution.item.id", command "org.eclipse.vorto.codegen.generator.command.id" not defined

!ENTRY org.eclipse.ui 4 4 2016-08-17 09:01:10.477
!MESSAGE Unable to create menu item "org.eclipse.vorto.codegen.dynamic.menu.contribution.item.id", command "org.eclipse.vorto.codegen.generator.command.id" not defined

!ENTRY org.eclipse.ui 4 4 2016-08-17 09:01:10.478
!MESSAGE Unable to create menu item "org.eclipse.vorto.codegen.dynamic.menu.contribution.item.id", command "org.eclipse.vorto.codegen.generator.command.id" not defined

!ENTRY org.eclipse.ui 4 4 2016-08-17 09:01:10.480
!MESSAGE Unable to create menu item "org.eclipse.vorto.codegen.dynamic.menu.contribution.item.id", command "org.eclipse.vorto.codegen.generator.command.id" not defined

!ENTRY org.eclipse.ui 4 4 2016-08-17 09:01:10.481
!MESSAGE Unable to create menu item "org.eclipse.vorto.codegen.dynamic.menu.contribution.item.id", command "org.eclipse.vorto.codegen.generator.command.id" not defined

!ENTRY org.eclipse.ui 4 4 2016-08-17 09:01:10.483
!MESSAGE Unable to create menu item "org.eclipse.vorto.codegen.dynamic.menu.contribution.item.id", command "org.eclipse.vorto.codegen.generator.command.id" not defined

!ENTRY org.eclipse.ui 4 4 2016-08-17 09:01:10.484
!MESSAGE Unable to create menu item "org.eclipse.vorto.codegen.dynamic.menu.contribution.item.id", command "org.eclipse.vorto.codegen.generator.command.id" not defined

!ENTRY org.eclipse.ui 4 4 2016-08-17 09:01:10.485
!MESSAGE Unable to create menu item "org.eclipse.vorto.codegen.dynamic.menu.contribution.item.id", command "org.eclipse.vorto.codegen.generator.command.id" not defined

!ENTRY org.eclipse.ui 4 4 2016-08-17 09:01:10.487
!MESSAGE Unable to create menu item "org.eclipse.vorto.codegen.dynamic.menu.contribution.item.id", command "org.eclipse.vorto.codegen.generator.command.id" not defined

!ENTRY org.eclipse.ui 4 4 2016-08-17 09:01:10.488
!MESSAGE Unable to create menu item "org.eclipse.vorto.codegen.dynamic.menu.contribution.item.id", command "org.eclipse.vorto.codegen.generator.command.id" not defined

!ENTRY org.eclipse.ui 4 4 2016-08-17 09:01:10.489
!MESSAGE Unable to create menu item "org.eclipse.vorto.codegen.dynamic.menu.contribution.item.id", command "org.eclipse.vorto.codegen.generator.command.id" not defined

@laverman
Copy link
Author

After doing some research it appears to me that in the Workspace folder the following file:
workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
incomplete is. When copying this file from an older workspace, it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants