Can't launch RCP App with Minimal Target [message #520307] |
Thu, 11 March 2010 21:28 |
Mark Leone Messages: 123 Registered: July 2009 |
Senior Member |
|
|
Am I wrong in assuming that the meaning of minimal RCP target is that it provides the minimum set of plug-ins needed to launch an RCP app?
I've been doing RCP development at work since last April, developing plug-ins on a fairly extensive RCP app that we developed some time ago. But now I want to develop my own RCP app, starting with the minimal RCP target, but I can't launch the runtime workbench
Even with all workspace plug-ins closed, when I try to launch an Eclipse Application, the only choice I have for application in the run-time config is org.eclipse.ui.ide.workbench, and there are no products to select..
But when I launch the app, I get the error message:
java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error.
When I check validation of plug-ins I get the message: missing plug-in org.eclipse.ui.ide
So I added that plug-in to the target, along with all plug-ins recursively dependent on it, and I still get the error. Furthermore, I can't satisfy all the package dependencies by satisfying all the plug-in dependencies, as I still get missing constraint violations on a couple p2 plug-ins, in which the plug-ins are unable to resolve some dependencies on internal packages from other plug-ins, although there are no unsatisfied plug-in dependencies.
I suspect the issue with satisfying org.eclipse.ui.ide's dependencies is a red herring. But I don;t know why I can't launch an RCP app with nothing in my workspace when I have the minimal RCP target. For now I'm using the IDE's run-time as my target, and that works, though obviously with much more than I need in my run-time.
I should also mention that I have the 3.5.2 IDE and RCP target.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03736 seconds