Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Questions about using the Eclipse Help as standalone infocenter(Created plugins containing the help are not loaded)
Questions about using the Eclipse Help as standalone infocenter [message #508152] Sat, 16 January 2010 17:09 Go to next message
Bjoern Berg is currently offline Bjoern Berg
Messages: 41
Registered: November 2009
Location: Essen
Member
I want to use the Eclipse help as standalone infocenter. I have customized it as far as possible so that only the needed plugins are loaded to show the infocenter.

Now when I try to put in my created plugins containing the help files nothing is shown in the topic list and I cannot see if Eclipse loads the bundles. A restart of the infocenter has also no effect. When I load the appropriate plugin in my workbench, everything works fine.

This is the command for starting the infocenter:
base_path=/Users/Java/help_system
java -classpath $base_path/plugins/org.eclipse.help.base_3.4.0.v200909170800 .jar org.eclipse.help.standalone.Infocenter -debug -command start -eclipsehome $base_path -port 8080 -plugincustomization $base_path/custom.ini

And thats what is in custom.ini:
org.eclipse.help.base/remoteHelpOn=true
org.eclipse.help.base/remoteHelpUseDefaultPort=false
org.eclipse.help.base/remoteHelpPort=8080
org.eclipse.help.base/banner=/de.berg.systeme.help.handbook/ html/support_header.html
org.eclipse.help.base/banner_height=80
org.eclipse.help/HELP_DATA=helpData.xml

helpData.xml looks like this:
<extensions>
<tocOrder>
<toc id="/de.berg.systeme.help.handbook/handbook.xml"/>
</tocOrder>
<hidden>
<toc id="/com.ibm.help.hs.doc/iehs_helpsys.xml"/>
<toc id="/com.ibm.help.ic.doc/iehs_infoc.xml"/>
</hidden>
</extensions>

And plugin.xml is this one:
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.help.toc">
<toc
file="toc.xml">
</toc>
<toc
file="handbook.xml"
primary="true">
</toc>
</extension>
</plugin>

Maybe someone has encountered the same problems and can give me a hint.



[Updated on: Sat, 16 January 2010 17:16]

Report message to a moderator

Re: Questions about using the Eclipse Help as standalone infocenter [message #509310 is a reply to message #508152] Thu, 21 January 2010 22:42 Go to previous message
Jennifer Skiendzielewski is currently offline Jennifer Skiendzielewski
Messages: 31
Registered: January 2010
Location: Boulder, CO
Member
We ran into this problem last year too. I had an intern do a lot of trial and error, and he discovered that you have to update this file so your plugins are recognized:

eclipse\configuration\org.eclipse.equinox.simpleconfigurator /bundles.info

We couldn't figure out what all of the values were supposed to be, but by adapting the other lines in the file, we were able to get our plugins to display in InfoCenter mode. Apparently, this file is updated automatically in platform mode, but not in InfoCenter.

As best we can figure, the entry is:

pluginID,plugin-version,file:plugins\[pluginID],4,false

We have no idea what the 4 and the false mean.

Here's a generic version of the line we add:

com.company.product.plugin,1.3,file:plugins\com.company.prod uct.plugin,4,false

Hope that helps.
Previous Topic:Updating Infocenter help plugin issues
Next Topic:Questions about using the Eclipse Help as standalone infocenter
Goto Forum:
  


Current Time: Wed Sep 24 00:35:42 GMT 2014

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

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