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
Member
Hi,
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 = "/org.eclipse.rtsc.xdctools.help/" + "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 = "/org.eclipse.rtsc.xdctools.help/" + "../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 = "/org.eclipse.rtsc.xdctools.help/" + "docs.zip!/cdoc/" +
elemName.replace('.', '/') + "/package.html";

What would be the right way to compute the URL for documents residing
within a zipped file?
Previous Topic:org.dita.dost.contentProducer prevents plugin from loading
Next Topic:Error searching in remote infocenter
Goto Forum:
  


Current Time: Thu Dec 18 04:14:05 GMT 2014

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

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