Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-help-dev] Invoking help

Since you have difficulties resolving %DB2HOME%, the standalone help has
them as well.   If you know the relative location of Eclipse to your
program, and you can get the current directory using System.getProperty(
"user.dir"), you might be able to figure out where is Eclipse.

Konrad Kolosowski
Eclipse Help System



                                                                                                                                              
                      Lindsay Bennion/Silicon                                                                                                 
                      Valley/IBM@IBMUS                To:       platform-help-dev@xxxxxxxxxxx                                                 
                      Sent by:                        cc:                                                                                     
                      platform-help-dev-admin@        Subject:  [platform-help-dev] Invoking help                                             
                      eclipse.org                                                                                                             
                                                                                                                                              
                                                                                                                                              
                      02/06/2003 01:46 PM                                                                                                     
                      Please respond to                                                                                                       
                      platform-help-dev                                                                                                       
                                                                                                                                              
                                                                                                                                              







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


_______________________________________________
platform-help-dev mailing list
platform-help-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-help-dev





Back to the top