Hi ,
I am running my own built plug-in in Eclipse 3.4.2. I successfully built my plug-in but when i try run my plug-in, eclipse is displaying following below error
I modified config.ini by specifying plug-in name in "eclipse.application" attribute and enabled "eclipse.application.registerDescriptors".!SESSION 2009-07-06 17:05:16.181 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -dev
!ENTRY org.eclipse.osgi 4 0 2009-07-06 17:05:37.164
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContain er.startDefaultApp(EclipseAppContainer.java:236)
at org.eclipse.equinox.internal.app.MainApplicationLa uncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 110)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework( Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.ja va:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:12 36)
at org.eclipse.equinox.launcher.Main.main(Main.java:1 212)
After that if i start eclipse , it wont start but throws an exception like "eclipse.application=myplugin is not found in registry" in log file.
If i comment "eclipse.product" in config.ini leaving only "eclipse.application" and try to run eclipse same exception like "eclipse.application=myplugin is not found in registry" is displayed in log file.
How to register my plug-in in registry ? Where will be that registry ? Is that is Window->Show View->Other->Plug-in Registry ?
Where and How to specify my plug-in ID, So that the error "java.lang.RuntimeException: No application id has been found" can be removed ?
Below is my config.ini file:
And my system configuration is as below...-----------------------------------------------------
#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equino x.EquinoxFwConfigFileParser
#Wed Feb 11 19:26:47 EST 2009
org.eclipse.update.reconcile=false
eclipse.p2.profile=SDKProfile
osgi.instance.area.default=@user.home/workspace
osgi.framework=file\:plugins/org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar
eclipse.buildId=M20090211-1700
osgi.bundles=reference\:file\org.eclipse.equinox.s impleconfigurator_1.0.0.v20080604.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=f ile\org.eclipse.equinox.simpleconfigurator/bundles.info
eclipse.product=org.eclipse.sdk.ide
osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
eclipse.p2.data.area=@config.dir/../p2
osgi.bundles.defaultStartLevel=4
osgi.ws=gtk
OS : Fedora 8
Machine : i386
Eclipse : eclipse-SDK-3.4.2-linux-gtk.tar.gz
Java : 1.5 Update 16
Please shed some light on this issue...
Thanks in Advance
Pradeep