helpData.xml Ignored for Infocenter Startup [message #733551] |
Tue, 04 October 2011 23:01  |
Eclipse User |
|
|
|
Hi,
I'm running Eclipse Classic 3.7.1.v201109091335 and attempting to create an Infocenter. The first step for me was to attempt to change the high level toc. I'm attempting to hide some of the elements in the toc but nothing I do has any effect.
Anyone else run into this?
This is what I have in helpData.xml
<?xml version="1.0" encoding="utf-8"?>
<extensions>
<tocOrder>
<toc id="/org.eclipse.platform.doc.user/toc.xml"/>
</tocOrder>
<hidden>
<toc id="/org.eclipse.jdt.doc.user/toc.xml"/>
<toc id="/org.eclipse.platform.doc.isv/toc.xml"/>
<toc id="/org.eclipse.jdt.doc.isv/toc.xml"/>
<toc id="/org.eclipse.pde.doc.user/toc.xml"/>
</hidden>
</extensions>
This is what I have in plugin_customization.ini:
# plugin_customization.ini
# sets default values for plug-in-specific preferences
# keys are qualified by plug-in id
# e.g., com.example.acmeplugin/myproperty=myvalue
# java.io.Properties file (ISO 8859-1 with "\" escapes)
# "%key" are externalized strings defined in plugin_customization.properties
# This file does not need to be translated.
# WARNING: This file defines the preference overrides for the Platform build
# (the one with no JDT or PDE), not the SDK build (aka the IDE).
# For the SDK build, use the plugin_customization.ini file in the
# org.eclipse.sdk plug-in instead.
# Property "org.eclipse.ui/defaultPerspectiveId" controls the
# perspective that the workbench opens initially
org.eclipse.ui/defaultPerspectiveId=org.eclipse.ui.resourcePerspective
# new-style tabs by default
org.eclipse.ui/SHOW_TRADITIONAL_STYLE_TABS=false
# put the perspective switcher on the top right
org.eclipse.ui/DOCK_PERSPECTIVE_BAR=topRight
# show progress on startup
org.eclipse.ui/SHOW_PROGRESS_ON_STARTUP=true
# Welcome theme to use
org.eclipse.ui.intro/INTRO_THEME = org.eclipse.ui.intro.universal.slate
# Root page links to show in the Universal Welcome
org.eclipse.ui.intro.universal/INTRO_ROOT_PAGES = overview,tutorials,samples,whatsnew
# Initial page layout of the Universal Welcome
org.eclipse.ui.intro.universal/INTRO_DATA = product:introData.xml
# Order help books in table of contents
org.eclipse.help/HELP_DATA = helpData.xml
Thanks,
MMA
|
|
|
|
|
Re: helpData.xml Ignored for Infocenter Startup [message #741744 is a reply to message #734419] |
Wed, 19 October 2011 17:23   |
Eclipse User |
|
|
|
Hi,
I just wanted to post a follow up to my post. Thank you for the response Chris. I had seen your post to someone else regarding this fix. I tried it and it didn't work for me either. I did extensive testing with several different versions of Eclipse. We have running 3.6.0 which a person other than me setup (he wasn't available to query). He got it running with helpData.xml but that didn't work for me -- not even when I tried to recreate with the same version. I was at a loss --- but it seemed other people had experienced problems with helpData.xml.
My goal was to find a configuration that worked with the latest version of Eclipse. This is what I found worked and worked consistently.
+ Specify the -pluginCustomization flag when starting Eclipse
+ Used the baseTOCs and ignoredTOCs keywords
+ Also used the help_home, banner, and banner_height keywords
My plugin_customization.ini file looks like:
# Order help books in table of contents
org.eclipse.help/HELP_DATA=
#org.eclipse.help/baseTOCS=/release_notes/release_notes.xml,/install_config_help/install_config_help.xml,/operations_help/operations_help.xml,/solutions_help/solutions_help.xml,/pricing_rating_help/pricing_rating_help.xml
org.eclipse.help/ignoredTOCS=/org.eclipse.mylyn.help.ui/Mylyn-FAQ-toc.xml,/org.eclipse.mylyn.help.ui/Mylyn-User-Guide-toc.xml,/org.eclipse.mylyn.help.ui/toc.xml,/org.eclipse.mylyn.help.ui/primary-toc.xml,/org.eclipse.mylyn.ide.ui/doc/toc.xml,/org.eclipse.mylyn.java.ui/doc/toc.xml,/org.eclipse.mylyn.resources.ui/doc/toc.xml,/org.eclipse.mylyn.tasks.ui/doc/toc.xml,/org.eclipse.mylyn.wikitext.help.ui/help/Mylyn WikiText User Guide-toc.xml,/org.eclipse.mylyn.wikitext.help.ui/help/devguide/WikiText Developer Guide-toc.xml,/org.eclipse.mylyn.wikitext.help.ui/toc.xml,/org.eclipse.epp.mpc.help.ui/toc.xml,/org.eclipse.epp.usagedata.ui/toc.xml,/org.eclipse.egit.doc/help/toc.xml,/org.eclipse.platform.doc.user/toc.xml,/org.eclipse.jdt.doc.user/toc.xml,/org.eclipse.platform.doc.isv/toc.xml,/org.eclipse.jdt.doc.isv/toc.xml,/org.eclipse.pde.doc.user/toc.xml
# myplugin
# org.eclipse.help.base/help_home = /com.myplugin/help_home.html
# org.eclipse.help.base/banner = /com.myplugin/banner.html
# org.eclipse.help.base/banner_height = 90
I think helpData.xml would be the more elegant solution but it wouldn't work for me.
MMA
[Updated on: Wed, 19 October 2011 17:24] by Moderator
|
|
|
|
|
Re: helpData.xml Ignored for Infocenter Startup [message #1375182 is a reply to message #949140] |
Thu, 22 May 2014 20:03  |
Eclipse User |
|
|
|
I was having a lot of trouble getting helpData.xml to be read, and then I found this article online called, "An infocenter product plugin cookbook" (sorry can't post link).
This part that seemed to fix my problem:
"10. delete the text that was automatically generated for "application" and replace it with org.eclipse.help.base.helpApplication"
|
|
|
Powered by
FUDForum. Page generated in 0.06257 seconds