I have created a graphical editor using Eclipse-GMF. So now I can create diagram files. What I would like to do is execute the diagram files by clicking the green button.

So basically I would like to create a custom run configuration for a plugin that I have created.

I would like the custom run configuration to launch an Eclipse-RCP application that will read the runned diagram. But when i choose my RCP application in the Run as product or Run as application it opens normally for about 20secs then it crashes...

So my question is how do i configure this correctly??

有帮助吗?

解决方案

You should extend the org.eclipse.debug.launch* extension points to have your own launch configuration, launchers, launch tabs, etc.

其他提示

I believe these crashes that you mention are related to this bug. The crash log is identical to the one you posted in your comment. From what I can see, the issue was with Eclipse Helios on Windows 7 when Mylyn is installed on the target platform. The bug report states that it's solved in 3.7 M7. See this comment on how to prevent your plugin from crashing the workbench.
Hope that this helps :).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top