Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Can't launch RCP App with Minimal Target(When launching I get Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error., but there's no way to sele)
Can't launch RCP App with Minimal Target [message #520307] Thu, 11 March 2010 21:28 Go to next message
Mark Leone is currently offline Mark LeoneFriend
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.
Re: Can't launch RCP App with Minimal Target [message #520550 is a reply to message #520307] Fri, 12 March 2010 19:11 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Mark Leone wrote:
> 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?

A minimal RCP app provides no application at all. Try in a clean
workspace, creating an rcp.mail plugin and use the RCP Mail app template.

That provides its own RCP application for launching, and is basically
composed of that one plugin + the minimal required target to do that
kind of UI plugin.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Can't launch RCP App with Minimal Target [message #520701 is a reply to message #520550] Sun, 14 March 2010 15:35 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 418
Registered: July 2009
Senior Member
In addition, if you want to run this inside the workbench using the workbench
application, you have to include the plugin that defines this application.
probably org.eclipse.ui.workbench or org.eclipse.ui.ide.application. Pressing
"add required plugins" does not resolve the plugin that defines the
application used in the "Main" tab (would be nice if it did)

--

Best Regards,
Wim Jongman
-- Computers make very fast, very accurate mistakes.
(Eclipse Old Skool Quote Service)

> Mark Leone wrote:
>> 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?
>
> A minimal RCP app provides no application at all. Try in a clean
> workspace, creating an rcp.mail plugin and use the RCP Mail app template.
>
> That provides its own RCP application for launching, and is basically
> composed of that one plugin + the minimal required target to do that
> kind of UI plugin.
>
> PW
>
>
> --
> Paul Webster
> http://wiki.eclipse.org/Platform_Command_Framework
> http://wiki.eclipse.org/Command_Core_Expressions
> http://wiki.eclipse.org/Menu_Contributions
> http://wiki.eclipse.org/Menus_Extension_Mapping
>
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm
Re: Can't launch RCP App with Minimal Target [message #520893 is a reply to message #520701] Mon, 15 March 2010 16:42 Go to previous message
Mark Leone is currently offline Mark LeoneFriend
Messages: 123
Registered: July 2009
Senior Member
Thanks for the replies. I created a plug-in with my desired application, starting from the RCP Mail template and customizing as needed. That works fine with the minimal RCP target, which is what I was trying to do.

[Updated on: Mon, 15 March 2010 16:43]

Report message to a moderator

Previous Topic:customize Splashscreen using StartupMonitor
Next Topic:Problems launching exported RCP application on RHEL and Windows
Goto Forum:
  


Current Time: Sun Dec 21 15:15:14 GMT 2014

Powered by FUDForum. Page generated in 0.02824 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software