Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Computing help URLs
Computing help URLs [message #621796] Mon, 03 November 2008 22:47
Amit Mookerjee is currently offline Amit MookerjeeFriend
Messages: 47
Registered: July 2009
I have made an eclipse plugin and facing the following issues in computing
the URL:

1. URL for documents relative paths : I have a help plugin that appears to
work when the document I refer to is located below the plug-in directory.
So when I compute the 'href' argument in
PlatformUI.getWorkbench().getHelpSystem().displayHelpResourc e(href);

in the following way:

href = "/" + "cdoc/" +
elemName.replace('.', '/') + "/package.html";

help shows the document located in the 'cdoc' sub-directory located in the
plugin directory.

However, if the documents are kept at a level higher, the document does
not showup.

In other words computing 'href' in the following way

href = "/" + "../docs/cdoc/" +
elemName.replace('.', '/') + "/package.html";

does not work. How do I compute 'href' when my docs are located above the
plugin directory?

2. URL for documents in zipped files: If I have the sub-directory 'cdoc'
mentioned in part 1 zipped up, then the following computation of 'href'
does not work

href = "/" + "!/cdoc/" +
elemName.replace('.', '/') + "/package.html";

What would be the right way to compute the URL for documents residing
within a zipped file?
Previous Topic:add files that do not lay in project folder
Next Topic:Error searching in remote infocenter
Goto Forum:

Current Time: Mon Apr 23 15:47:13 GMT 2018

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

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