Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Linking across help plug-ins broken in Web app infocenter
Linking across help plug-ins broken in Web app infocenter [message #473685] Tue, 06 May 2008 13:29 Go to next message
David Porter is currently offline David PorterFriend
Messages: 18
Registered: July 2009
Junior Member
In my help plug-in I frequently link to topics in the Eclipse Workbench User
Guide (org.eclipse.platform.doc.user), using the following format:

<a href=" /help/topic/org.eclipse.platform.doc.user/reference/TopicNam e.htm ">

This works when I ship my help plug-in as part of an Eclipse installation
and when I run it in a standard infocenter.

However, in the new Web app version of the infocenter, clicking on a link
like the example above throws an HTTP 404 error.

Has anyone else seen this problem?

Thanks
Re: Linking across help plug-ins broken in Web app infocenter [message #473686 is a reply to message #473685] Tue, 06 May 2008 16:10 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
It may be that you don't have the platform.doc.user plugin installed.
The Eclipse SDK includes this book as part of the installation, the web
app infocenter does not. It sounds like you just need to copy the
org.eclipse.platform.doc.user plugin from your Eclipse plugins directory
to the plugins directory of the war file, you may also want to copy any
other plugins with "doc" as part of their name.

David Porter wrote:
> In my help plug-in I frequently link to topics in the Eclipse Workbench User
> Guide (org.eclipse.platform.doc.user), using the following format:
>
> <a href=" /help/topic/org.eclipse.platform.doc.user/reference/TopicNam e.htm ">
>
> This works when I ship my help plug-in as part of an Eclipse installation
> and when I run it in a standard infocenter.
>
> However, in the new Web app version of the infocenter, clicking on a link
> like the example above throws an HTTP 404 error.
>
> Has anyone else seen this problem?
>
> Thanks
>
>
Re: Linking across help plug-ins broken in Web app infocenter [message #473690 is a reply to message #473686] Wed, 07 May 2008 12:01 Go to previous messageGo to next message
David Porter is currently offline David PorterFriend
Messages: 18
Registered: July 2009
Junior Member
I do have the org.eclipse.platform.doc.user plugin installed.

The link is trying to call this URL, which fails:

<hostname> :8080/help/topic/org.eclipse.platform.doc.user/reference/ref -6.htm

Changing the URL to the following displays the topic correctly:

<hostname> :8080/help/index.jsp?topic=/org.eclipse.platform.doc.user/re ference/ref-6.htm



"Chris Goldthorpe" <cgold@us.ibm.com> wrote in message
news:fvpvui$a90$1@build.eclipse.org...
> It may be that you don't have the platform.doc.user plugin installed. The
> Eclipse SDK includes this book as part of the installation, the web app
> infocenter does not. It sounds like you just need to copy the
> org.eclipse.platform.doc.user plugin from your Eclipse plugins directory
> to the plugins directory of the war file, you may also want to copy any
> other plugins with "doc" as part of their name.
>
> David Porter wrote:
>> In my help plug-in I frequently link to topics in the Eclipse Workbench
>> User Guide (org.eclipse.platform.doc.user), using the following format:
>>
>> <a
>> href=" /help/topic/org.eclipse.platform.doc.user/reference/TopicNam e.htm ">
>>
>> This works when I ship my help plug-in as part of an Eclipse installation
>> and when I run it in a standard infocenter.
>>
>> However, in the new Web app version of the infocenter, clicking on a link
>> like the example above throws an HTTP 404 error.
>>
>> Has anyone else seen this problem?
>>
>> Thanks
Is another "path" symptom a la Bugzilla 225947? [message #473691 is a reply to message #473690] Wed, 07 May 2008 13:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi,

The described symptom just smells like a "relative path" thing to me,
which is why I mention this Bugzilla entry.

In comment 4 of Bugzilla 225947, Chris writes:
"There could be more variants of this kind of problem, as there are a
few places where the help system builds relative paths, the classes
which implement IFilter are where these are likely to be found."

Link to Bugzilla comment:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=225947#c4

In the war environment, does the PLUGINS_ROOT method work as usual?
That's the way that the 3.4 help is saying to do cross plug-in referencing:
href="PLUGINS_ROOT/another_plugin_id/ref/ref1.html"/>

Best,
Lee Anne


David Porter wrote:
> I do have the org.eclipse.platform.doc.user plugin installed.
>
> The link is trying to call this URL, which fails:
>
> <hostname> :8080/help/topic/org.eclipse.platform.doc.user/reference/ref -6.htm
>
> Changing the URL to the following displays the topic correctly:
>
> <hostname> :8080/help/index.jsp?topic=/org.eclipse.platform.doc.user/re ference/ref-6.htm
>
>
>
> "Chris Goldthorpe" <cgold@us.ibm.com> wrote in message
> news:fvpvui$a90$1@build.eclipse.org...
>> It may be that you don't have the platform.doc.user plugin installed. The
>> Eclipse SDK includes this book as part of the installation, the web app
>> infocenter does not. It sounds like you just need to copy the
>> org.eclipse.platform.doc.user plugin from your Eclipse plugins directory
>> to the plugins directory of the war file, you may also want to copy any
>> other plugins with "doc" as part of their name.
>>
>> David Porter wrote:
>>> In my help plug-in I frequently link to topics in the Eclipse Workbench
>>> User Guide (org.eclipse.platform.doc.user), using the following format:
>>>
>>> <a
>>> href=" /help/topic/org.eclipse.platform.doc.user/reference/TopicNam e.htm ">
>>>
>>> This works when I ship my help plug-in as part of an Eclipse installation
>>> and when I run it in a standard infocenter.
>>>
>>> However, in the new Web app version of the infocenter, clicking on a link
>>> like the example above throws an HTTP 404 error.
>>>
>>> Has anyone else seen this problem?
>>>
>>> Thanks
>
>
Re: Is another "path" symptom a la Bugzilla 225947? [message #473693 is a reply to message #473691] Wed, 07 May 2008 17:08 Go to previous messageGo to next message
David Porter is currently offline David PorterFriend
Messages: 18
Registered: July 2009
Junior Member
Many thanks Lee Anne. I wasn't using the PLUGINS_ROOT method. I'm using it
now and it works perfectly.

Do you happen to know whether PLUGINS_ROOT is new to Eclipse 3.4 or was it
introduced in an earlier version?


Lee Anne wrote:

> In the war environment, does the PLUGINS_ROOT method work as usual?
Re: Is another "path" symptom a la Bugzilla 225947? [message #473695 is a reply to message #473693] Wed, 07 May 2008 18:52 Go to previous message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi David,

Good to hear that PLUGINS_ROOT is working in that environment!

I just did searches for "PLUGIN_ROOT" in the Eclipse 3.3, 3.2, and 3.1
infocenters at eclipse.org and it's mentioned in the 3.3 and 3.2
documentation. So, looks like it came out in Eclipse 3.2.

Best,
Lee Anne

Eclipse 3.3 IC: http://help.eclipse.org/help33/index.jsp
Eclipse 3.2 IC: http://help.eclipse.org/help32/index.jsp

David Porter wrote:
> Many thanks Lee Anne. I wasn't using the PLUGINS_ROOT method. I'm using
> it now and it works perfectly.
>
> Do you happen to know whether PLUGINS_ROOT is new to Eclipse 3.4 or was
> it introduced in an earlier version?
>
>
> Lee Anne wrote:
>
>> In the war environment, does the PLUGINS_ROOT method work as usual?
>
>
Re: Linking across help plug-ins broken in Web app infocenter [message #613222 is a reply to message #473685] Tue, 06 May 2008 16:10 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
It may be that you don't have the platform.doc.user plugin installed.
The Eclipse SDK includes this book as part of the installation, the web
app infocenter does not. It sounds like you just need to copy the
org.eclipse.platform.doc.user plugin from your Eclipse plugins directory
to the plugins directory of the war file, you may also want to copy any
other plugins with "doc" as part of their name.

David Porter wrote:
> In my help plug-in I frequently link to topics in the Eclipse Workbench User
> Guide (org.eclipse.platform.doc.user), using the following format:
>
> <a href=" /help/topic/org.eclipse.platform.doc.user/reference/TopicNam e.htm ">
>
> This works when I ship my help plug-in as part of an Eclipse installation
> and when I run it in a standard infocenter.
>
> However, in the new Web app version of the infocenter, clicking on a link
> like the example above throws an HTTP 404 error.
>
> Has anyone else seen this problem?
>
> Thanks
>
>
Re: Linking across help plug-ins broken in Web app infocenter [message #613228 is a reply to message #473686] Wed, 07 May 2008 12:01 Go to previous message
David Porter is currently offline David PorterFriend
Messages: 18
Registered: July 2009
Junior Member
I do have the org.eclipse.platform.doc.user plugin installed.

The link is trying to call this URL, which fails:

<hostname> :8080/help/topic/org.eclipse.platform.doc.user/reference/ref -6.htm

Changing the URL to the following displays the topic correctly:

<hostname> :8080/help/index.jsp?topic=/org.eclipse.platform.doc.user/re ference/ref-6.htm



"Chris Goldthorpe" <cgold@us.ibm.com> wrote in message
news:fvpvui$a90$1@build.eclipse.org...
> It may be that you don't have the platform.doc.user plugin installed. The
> Eclipse SDK includes this book as part of the installation, the web app
> infocenter does not. It sounds like you just need to copy the
> org.eclipse.platform.doc.user plugin from your Eclipse plugins directory
> to the plugins directory of the war file, you may also want to copy any
> other plugins with "doc" as part of their name.
>
> David Porter wrote:
>> In my help plug-in I frequently link to topics in the Eclipse Workbench
>> User Guide (org.eclipse.platform.doc.user), using the following format:
>>
>> <a
>> href=" /help/topic/org.eclipse.platform.doc.user/reference/TopicNam e.htm ">
>>
>> This works when I ship my help plug-in as part of an Eclipse installation
>> and when I run it in a standard infocenter.
>>
>> However, in the new Web app version of the infocenter, clicking on a link
>> like the example above throws an HTTP 404 error.
>>
>> Has anyone else seen this problem?
>>
>> Thanks
Is another "path" symptom a la Bugzilla 225947? [message #613230 is a reply to message #473690] Wed, 07 May 2008 13:11 Go to previous message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi,

The described symptom just smells like a "relative path" thing to me,
which is why I mention this Bugzilla entry.

In comment 4 of Bugzilla 225947, Chris writes:
"There could be more variants of this kind of problem, as there are a
few places where the help system builds relative paths, the classes
which implement IFilter are where these are likely to be found."

Link to Bugzilla comment:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=225947#c4

In the war environment, does the PLUGINS_ROOT method work as usual?
That's the way that the 3.4 help is saying to do cross plug-in referencing:
href="PLUGINS_ROOT/another_plugin_id/ref/ref1.html"/>

Best,
Lee Anne


David Porter wrote:
> I do have the org.eclipse.platform.doc.user plugin installed.
>
> The link is trying to call this URL, which fails:
>
> <hostname> :8080/help/topic/org.eclipse.platform.doc.user/reference/ref -6.htm
>
> Changing the URL to the following displays the topic correctly:
>
> <hostname> :8080/help/index.jsp?topic=/org.eclipse.platform.doc.user/re ference/ref-6.htm
>
>
>
> "Chris Goldthorpe" <cgold@us.ibm.com> wrote in message
> news:fvpvui$a90$1@build.eclipse.org...
>> It may be that you don't have the platform.doc.user plugin installed. The
>> Eclipse SDK includes this book as part of the installation, the web app
>> infocenter does not. It sounds like you just need to copy the
>> org.eclipse.platform.doc.user plugin from your Eclipse plugins directory
>> to the plugins directory of the war file, you may also want to copy any
>> other plugins with "doc" as part of their name.
>>
>> David Porter wrote:
>>> In my help plug-in I frequently link to topics in the Eclipse Workbench
>>> User Guide (org.eclipse.platform.doc.user), using the following format:
>>>
>>> <a
>>> href=" /help/topic/org.eclipse.platform.doc.user/reference/TopicNam e.htm ">
>>>
>>> This works when I ship my help plug-in as part of an Eclipse installation
>>> and when I run it in a standard infocenter.
>>>
>>> However, in the new Web app version of the infocenter, clicking on a link
>>> like the example above throws an HTTP 404 error.
>>>
>>> Has anyone else seen this problem?
>>>
>>> Thanks
>
>
Re: Is another "path" symptom a la Bugzilla 225947? [message #613233 is a reply to message #473691] Wed, 07 May 2008 17:08 Go to previous message
David Porter is currently offline David PorterFriend
Messages: 18
Registered: July 2009
Junior Member
Many thanks Lee Anne. I wasn't using the PLUGINS_ROOT method. I'm using it
now and it works perfectly.

Do you happen to know whether PLUGINS_ROOT is new to Eclipse 3.4 or was it
introduced in an earlier version?


Lee Anne wrote:

> In the war environment, does the PLUGINS_ROOT method work as usual?
Re: Is another "path" symptom a la Bugzilla 225947? [message #613237 is a reply to message #473693] Wed, 07 May 2008 18:52 Go to previous message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi David,

Good to hear that PLUGINS_ROOT is working in that environment!

I just did searches for "PLUGIN_ROOT" in the Eclipse 3.3, 3.2, and 3.1
infocenters at eclipse.org and it's mentioned in the 3.3 and 3.2
documentation. So, looks like it came out in Eclipse 3.2.

Best,
Lee Anne

Eclipse 3.3 IC: http://help.eclipse.org/help33/index.jsp
Eclipse 3.2 IC: http://help.eclipse.org/help32/index.jsp

David Porter wrote:
> Many thanks Lee Anne. I wasn't using the PLUGINS_ROOT method. I'm using
> it now and it works perfectly.
>
> Do you happen to know whether PLUGINS_ROOT is new to Eclipse 3.4 or was
> it introduced in an earlier version?
>
>
> Lee Anne wrote:
>
>> In the war environment, does the PLUGINS_ROOT method work as usual?
>
>
Previous Topic:Context-sensitive help from multiple plug-ins
Next Topic:Can I configure links from context help to open in Help Browser?
Goto Forum:
  


Current Time: Thu Mar 28 09:43:14 GMT 2024

Powered by FUDForum. Page generated in 0.02144 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top