|
integrating a Third-Party Library in RCP application -
05-29-2009, 05:15 AM
Hello Experts,
I am a newbie for RCP. I want to integrate a Third-Party Library in my RCP application. I am referring the book "Eclipse Rich Client Platform: Designing, Coding, and Packaging Java Applications By Jeff McAffer, Jean-Michel Lemieux".
What I have done so far is :-
1)Create a plug-in project using File > New > Project... > Plug-in Development > Plug-in from existing JAR archives
3)Now in my RCP application , On the Dependencies page I have added the above plugin.
Now when I run my RCP application , I get this error.
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:368)
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(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework( Main.java:556)
at org.eclipse.equinox.launcher.Main.basicRun(Main.ja va:511)
at org.eclipse.equinox.launcher.Main.run(Main.java:12 84)
at org.eclipse.equinox.launcher.Main.main(Main.java:1 260)
I have googled it a lot but didn't get any help. Please help me. It has eaten up my whole day & still I am unable to solve this problem . Thanks in advance for any help.
|