Help in RAP 1.1.1 RC1 [message #104844] |
Mon, 15 September 2008 01:10  |
Eclipse User |
|
|
|
Hi all,
I found how to work eclipse help in RAP in above messages. I tried to do
it using help plugins from Eclipse 3.4, but now help does not work.
Problem in plugin org.eclipse.help.webapp_3.3.100.v20080528.jar,
plugin.xml differs from old one:
<serviceSelector
filter="(other.info=org.eclipse.help)">
</serviceSelector>
I've added to web.xml of my application
<init-param>
<param-name>other.info</param-name>
<param-value>org.eclipse.help</param-value>
</init-param>
to equinoxbridgeservlet and made war. Help is working.
Is it correct resolution for the problem? How can I change web.xml
parameters in debug version of application?
Thanks.
|
|
|
|
|
Re: Help in RAP 1.1.1 RC1 [message #106083 is a reply to message #105571] |
Tue, 23 September 2008 18:25  |
Eclipse User |
|
|
|
Boris,
it would be great if you could add a FAQ[1] entry so others can profit
from your experiences.
Greets
Benny
[1] http://wiki.eclipse.org/RapFaq
Boris Stepanov wrote:
> Hi, Rüdiger,
>
> I found discussion about this problem:
>
> http://www.eclipsezone.com/eclipse/forums/t112389.html
>
> I think that I will made patches which will register help services
> without serviceSelector.
>
> I also found the way to run help in debug version in that resource. I
> just add VM attribute to run configuration:
>
> -Dorg.eclipse.equinox.http.jetty.other.info=org.eclipse.help
>
>> Hi Boris,
>>
>> during Eclipse 3.4 there was made a change in the way the help servlet
>> is registered. See the bug below for further details:
>> 193530: [Help] Should use "serviceSelector" in servlets extensions
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=193530
>>
>> This is why the way to run the help webapp as described in earlier
>> posts does not work any more.
>>
>> Regarding the correctness of your solution/workaround: I don't know.
>> But if it works it can't be too bad;)
>>
>> The 'debug version' runs a headless Eclipse and uses Jetty as the
>> servlet engine. Specifying a web.xml seems not to be possible as of
>> now. I think this bug is about it:
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=162132
>>
>> You might ask the Equinox newsgroup whether there is a way to pass on
>> context parameters apart from specifying them in the web.xml.
>>
>> HTH
>> Rüdiger
>>
>> Boris Stepanov wrote:
>>> Hi all,
>>>
>>> I found how to work eclipse help in RAP in above messages. I tried to
>>> do it using help plugins from Eclipse 3.4, but now help does not
>>> work. Problem in plugin
>>> org.eclipse.help.webapp_3.3.100.v20080528.jar, plugin.xml differs
>>> from old one:
>>>
>>> <serviceSelector
>>> filter="(other.info=org.eclipse.help)">
>>> </serviceSelector>
>>>
>>> I've added to web.xml of my application
>>>
>>> <init-param>
>>> <param-name>other.info</param-name>
>>> <param-value>org.eclipse.help</param-value> </init-param>
>>>
>>> to equinoxbridgeservlet and made war. Help is working.
>>>
>>> Is it correct resolution for the problem? How can I change web.xml
>>> parameters in debug version of application?
>>>
>>> Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.03406 seconds