RCP application [message #263136] |
Thu, 22 July 2004 09:08  |
Eclipse User |
|
|
|
Hello,
I'm trying to create a stand-alone RCP application in the way proposed
in Pascal Rapicault's article "Exporting an RCP application". The
application works great when started from the PDE workbench. However,
when I start eclipse.exe (from R3.0 RCP), I get a RuntimeException
(see below). My plug-in is listed in the osgi.bundles and includes an
appropriate extension point:
<extension
id="CrmApplication"
point="org.eclipse.core.runtime.applications">
<application>
<run
class="de.cuc.crm.rcp.CrmApplication">
</run>
</application>
</extension>
Any idea what I am doing wrong?
Thanks,
-- Jan
!SESSION Jul 22, 2004 15:06:03.882
---------------------------------------------
eclipse.buildId=I200406251208
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
!ENTRY org.eclipse.osgi Jul 22, 2004 15:06:03.882
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "CrmApplication" could not be
found in the registry. The applications available are: <NONE>.
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:325)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
|
|
|
|
Re: RCP application [message #263184 is a reply to message #263175] |
Thu, 22 July 2004 10:24  |
Eclipse User |
|
|
|
Hello Daniel,
thanks for the information, I'll consider this.
In the meantime - the reason for the error message was that I hadn't
included all the relevant plug-ins in osgi.bundles properly -
osgi.bundles seems to be an ordered list with dependencies. Under some
circumstances (namely a typo where I had an "\" in there but not ", \"
at the end of a line... poor me), the error message is a bit
inconclusive...
Thanks a lot for your suggestion - I'll try that as well, may be a
better approach.
-- Jan
On Thu, 22 Jul 2004 16:11:34 +0200, "Daniel Rohe"
<daniel.rohe@stud.tu-ilmenau.de> wrote:
|
|
|
Powered by
FUDForum. Page generated in 0.04356 seconds