[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[platform-help-dev] Invoking help



Hi,

One of our development teams is building a Java app and plan to use a
stand-alone (local) implementation of the Eclipse help system for online
help -- help buttons launch Eclipse with specific task content.  We're
following the instructions found at:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.platform.doc.isv/reference/misc/help_standalone.html

which state:
The stand-alone help system allows passing number of options that can be
used to customize various aspects of the help system. The following options
are supported:
      -eclipsehome eclipseInstallPath - specifies Eclipse installation
      directory. This directory is a parent to "plugins" directory and
      eclipse executable. The option must be provided, when current
      directory from which infocenter is launched, is not the same as
      Eclipse installation directory.

and
   5. To invoke help when needed:
      helpSystem.displayHelp();

      You can also call help on specific primary TOC files or topics:


      helpSystem.displayHelp("/com.mycompany.mytool.doc/toc.xml");
      helpSystem.displayHelp("/com.mycompany.mytool.doc/tasks/task1.htm");

We're trying to use a system environment variable containing a root path
(such as %DB2HOME%) for finding  "-eclipsehome", but Eclipse doesn't appear
to allow the shell to handle it.

Does anyone know of a way to do this?

Thanks and regards,

Lindsay


Lindsay R. Bennion
Data Management User Technology


Notes mail:  Lindsay Bennion/Silicon Valley/IBM
E-mail:  lindsayb@xxxxxxxxxx