update manager disables RCP-based application [message #250669] |
Tue, 08 June 2004 17:47  |
Eclipse User |
|
|
|
Using 3RC1 with JDK 1.4 on W2K
I have a simple RCP-based application that works fine. After adding a
dependency in plugin.xml to org.eclipse.update.ui, my application is not
found any more like reported below:
eclipse.buildId=unknown
java.version=1.4.2_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -application rcpdemo.rcpdemoapp
!ENTRY org.eclipse.osgi Jun 08, 2004 23:45:36.341
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "rcpdemo.rcpdemoapp" could not
be found in the registry. The applications available are:
org.eclipse.help.base.infocenterApplication,
org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool,
org.eclipse.update.core.standaloneUpdate.
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:324)
....
Somehow the update manager seems to prevent my application from being
added to the application registry. Any ideas?
Thanks,
Chris
|
|
|
Re: update manager disables RCP-based application [message #250677 is a reply to message #250669] |
Tue, 08 June 2004 18:08   |
Eclipse User |
|
|
|
Originally posted by: dorian.birsan.net
"Chris Wege" <wege@acm.org> wrote in message
news:ca5bo8$f92$1@eclipse.org...
> Using 3RC1 with JDK 1.4 on W2K
>
> I have a simple RCP-based application that works fine. After adding a
> dependency in plugin.xml to org.eclipse.update.ui, my application is not
> found any more like reported below:
>
> eclipse.buildId=unknown
> java.version=1.4.2_01
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -application rcpdemo.rcpdemoapp
> !ENTRY org.eclipse.osgi Jun 08, 2004 23:45:36.341
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: Application "rcpdemo.rcpdemoapp" could not
> be found in the registry. The applications available are:
> org.eclipse.help.base.infocenterApplication,
> org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool,
> org.eclipse.update.core.standaloneUpdate.
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:324)
> ...
>
>
> Somehow the update manager seems to prevent my application from being
> added to the application registry. Any ideas?
The menu items to launch the install wizard and the product configuration
dialog are now owned by the eclipse.ui component, and this introduced a
dependency on org.eclipse.update.ui. You need to also add this plugin to
your rcp app.
>
> Thanks,
> Chris
|
|
|
|
Re: update manager disables RCP-based application [message #253447 is a reply to message #250669] |
Wed, 16 June 2004 17:35  |
Eclipse User |
|
|
|
Had the same happen to me. I had made a copy of my project (copy of ....)
and thereby ended up with the same main plugin id in two different projects.
The plugin id serves as the application name in the launch configuration,
having two of the same was ambiguous for Eclipse. Closing the copy project
did not help. Had to close the project copy, exit Eclipse and reload.
Since you already found what was tripping you up, thought I'd add this for
future reference.
Doris
"Chris Wege" <wege@acm.org> wrote in message
news:ca5bo8$f92$1@eclipse.org...
> Using 3RC1 with JDK 1.4 on W2K
>
> I have a simple RCP-based application that works fine. After adding a
> dependency in plugin.xml to org.eclipse.update.ui, my application is not
> found any more like reported below:
>
> eclipse.buildId=unknown
> java.version=1.4.2_01
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -application rcpdemo.rcpdemoapp
> !ENTRY org.eclipse.osgi Jun 08, 2004 23:45:36.341
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: Application "rcpdemo.rcpdemoapp" could not
> be found in the registry. The applications available are:
> org.eclipse.help.base.infocenterApplication,
> org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool,
> org.eclipse.update.core.standaloneUpdate.
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:324)
> ...
>
>
> Somehow the update manager seems to prevent my application from being
> added to the application registry. Any ideas?
>
> Thanks,
> Chris
|
|
|
Powered by
FUDForum. Page generated in 0.10100 seconds