gemoc / concurrency

project MOVED to https://github.com/eclipse/gemoc-studio-execution-moccml (Projects about concurrency in GEMOC )
Eclipse Public License 1.0
1 stars 0 forks source link

Using wizard with installed emf plugin instead of source ecore file in emf project. #1

Open MarcPantel opened 9 years ago

MarcPantel commented 9 years ago

Currently, the xdsml wizard relies on the fact that all project are created locally and their source are available. It should be extended to be able to rely on external resources like loaded plugins/features.

MarcPantel commented 9 years ago

org.eclipse.core.internal.resources.ResourceException: Resource '/org.polarsys.capella.core.data.gen' does not exist. at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:341) at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:215) at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:147) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:62) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:52) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:124) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:108) at org.gemoc.gemoc_language_workbench.ui.activeFile.ActiveFileEcore.getActiveFile(ActiveFileEcore.java:36) at org.gemoc.gemoc_language_workbench.ui.wizards.CreateDSEWizardContextAction.createNewDSEProject(CreateDSEWizardContextAction.java:86) at org.gemoc.gemoc_language_workbench.ui.wizards.CreateDSEWizardContextAction.execute(CreateDSEWizardContextAction.java:57) at org.gemoc.gemoc_language_workbench.conf.presentation.GemocXDSMLFormComposite$18$1.doExecute(GemocXDSMLFormComposite.java:859) at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135) at org.eclipse.emf.common.command.BasicCommandStack.execute(BasicCommandStack.java:78) at org.gemoc.gemoc_language_workbench.conf.presentation.GemocXDSMLFormComposite$18.widgetSelected(GemocXDSMLFormComposite.java:852) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490) at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1540) at org.eclipse.swt.widgets.Link.textView_clickOnLink_atIndex(Link.java:117) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5948) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221) at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1101) at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1093) at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2563) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5638) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221) at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2105) at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2329) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5702) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5139) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5288) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3666) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

MarcPantel commented 9 years ago

There is a workaround. If you import virtually the content of the plugins/features, then you can use the wizard to create the ECL project.

jdeantoni commented 8 years ago

Not sure to understand the problem Is it really about ECL. Perhaps the problem is with the referencing of the metamodel in the xdsml file: it should support referencing a deployed MM and not only the ones from the workspace ?