|
|
|
Is another "path" symptom a la Bugzilla 225947? [message #473691 is a reply to message #473690] |
Wed, 07 May 2008 13:11 |
Eclipse User |
|
|
|
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 #473695 is a reply to message #473693] |
Wed, 07 May 2008 18:52 |
Eclipse User |
|
|
|
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?
>
>
|
|
|
|
|
Is another "path" symptom a la Bugzilla 225947? [message #613230 is a reply to message #473690] |
Wed, 07 May 2008 13:11 |
Eclipse User |
|
|
|
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 #613237 is a reply to message #473693] |
Wed, 07 May 2008 18:52 |
Eclipse User |
|
|
|
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?
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05449 seconds