Home » Eclipse Projects » Rich Client Platform (RCP) » Help doesn't work after export
| |
Re: Help doesn't work after export [message #437121 is a reply to message #435063] |
Wed, 21 September 2005 17:40 |
Keith Harrison-Broninski Messages: 33 Registered: July 2009 |
Member |
|
|
I had the same problem with getting help working in a deployed rcp app
on eclipse 3.1, and solved it as follows:
1. Created a config.ini in the configuration directory that included all
bundles used by the base rcp platform, by the help system, and by my
application. Each bundle specified here should have a corresponding
plugin (either source or binary) in the plugins directory of your rcp app.
2. Launched the application with jvm command line switches "-debug -clean"
The first time I did this the rcp app would not start at all (whereas
previously it had started but help didn't do anything). So I examined
the nnnnnnnnnnnnn.log file in the configuration directory and saw that
the help system actually needs one more plugin than stated in the
literature: org.eclipse.ui.forms. Adding this plugin to the rcp app and
to the config.ini file fixed the problem - it started again and help now
worked.
Here is the final bundle list I ended up with:
osgi.bundles = org.eclipse.core.runtime@2:start, \
org.eclipse.osgi, \
org.eclipse.core.commands, \
org.eclipse.core.expressions, \
org.eclipse.help, \
org.eclipse.jface, \
org.eclipse.swt, \
org.eclipse.swt.win32, \
org.eclipse.ui.workbench, \
org.eclipse.ui, \
org.eclipse.ui.forms, \
org.apache.ant, \
org.apache.lucene, \
org.eclipse.help.appserver, \
org.eclipse.help.base, \
org.eclipse.help.ui, \
org.eclipse.help.webapp, \
org.eclipse.tomcat, \
your.plugin.here
HTH
Keith
Vincent Etter wrote:
> Hello !
>
> I use help in my RCP application and everything works perfectly when I
> launch the application as a product in eclipse. I am able to export it,
> too, but there are some problems with help.
>
> First, I can't specify anywhere the runtime required plugins for help
> (tomcat, help.webapp, ...). If I try to add them in plugin.xml I have an
> error at runtime.
>
> So I specified the libs in the runtime configuration and tried to export
> them manually. It doesn't work either. I tried to put them in the
> plugin/ folder, or even the lib/ folder of the jar of my application.
>
> In fact the applications works well except that the help button in the
> menu doesn't do anything : the help browser doesn't start.
>
> Anyone has an idea ? Thanks
>
> Vincent
|
|
|
Re: Help doesn't work after export [message #437334 is a reply to message #437121] |
Tue, 27 September 2005 14:43 |
Vincent Etter Messages: 72 Registered: July 2009 |
Member |
|
|
Thanks a lot !
It worked fine ! But it seems a little complicated for something that
should be automatically done when exporting...
In fact, after some tests, it seems that it works without editing
config.ini. I only have to add manually in the plugin/ dir the plugins
you listed.
Keith Harrison-Broninski a écrit :
> I had the same problem with getting help working in a deployed rcp app
> on eclipse 3.1, and solved it as follows:
>
> 1. Created a config.ini in the configuration directory that included all
> bundles used by the base rcp platform, by the help system, and by my
> application. Each bundle specified here should have a corresponding
> plugin (either source or binary) in the plugins directory of your rcp app.
>
> 2. Launched the application with jvm command line switches "-debug -clean"
>
> The first time I did this the rcp app would not start at all (whereas
> previously it had started but help didn't do anything). So I examined
> the nnnnnnnnnnnnn.log file in the configuration directory and saw that
> the help system actually needs one more plugin than stated in the
> literature: org.eclipse.ui.forms. Adding this plugin to the rcp app and
> to the config.ini file fixed the problem - it started again and help now
> worked.
>
> Here is the final bundle list I ended up with:
>
> osgi.bundles = org.eclipse.core.runtime@2:start, \
> org.eclipse.osgi, \
> org.eclipse.core.commands, \
> org.eclipse.core.expressions, \
> org.eclipse.help, \
> org.eclipse.jface, \
> org.eclipse.swt, \
> org.eclipse.swt.win32, \
> org.eclipse.ui.workbench, \
> org.eclipse.ui, \
> org.eclipse.ui.forms, \
> org.apache.ant, \
> org.apache.lucene, \
> org.eclipse.help.appserver, \
> org.eclipse.help.base, \
> org.eclipse.help.ui, \
> org.eclipse.help.webapp, \
> org.eclipse.tomcat, \
> your.plugin.here
>
> HTH
> Keith
|
|
|
Goto Forum:
Current Time: Wed Dec 04 15:55:10 GMT 2024
Powered by FUDForum. Page generated in 0.03833 seconds
|