Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-help-dev] Basic Help system functionality

Mark, if there are no specific reasons to stay with 2.0.2, then I'd suggest
moving to the 2.1 version, as it is much stable and better tested.
Search the online docs for "standalone help" , there are some minor changes
(as the one mentioned below).
You can also create a much smaller packaging that does not involve all the
eclipse plugins.

-Dorian


|---------+----------------------------------->
|         |           Mark Farmer/UK/IBM@IBMGB|
|         |           Sent by:                |
|         |           platform-help-dev-admin@|
|         |           eclipse.org             |
|         |                                   |
|         |                                   |
|         |           04/17/2003 10:27 AM     |
|         |           Please respond to       |
|         |           platform-help-dev       |
|         |                                   |
|---------+----------------------------------->
  >-------------------------------------------------------------------------------------------------------------|
  |                                                                                                             |
  |       To:       platform-help-dev@xxxxxxxxxxx                                                               |
  |       cc:                                                                                                   |
  |       Subject:  Re: [platform-help-dev] Basic Help system functionality                                     |
  |                                                                                                             |
  |                                                                                                             |
  >-------------------------------------------------------------------------------------------------------------|




Dorian,

Many thanks for your quick response.  I have already tried to use the
absolute path, but it appears to work no differently.  I'm using Eclipse
version 2.0.2 (I think), so the Help constructor only accepts 1 String
parameter.  Would using version 2.1 be more successful?

Is there any more advice you can give me?

Cheers, Mark



|---------+----------------------------------->
|         |           Dorian                  |
|         |           Birsan/Toronto/IBM@IBMCA|
|         |           Sent by:                |
|         |           platform-help-dev-admin@|
|         |           eclipse.org             |
|         |                                   |
|         |                                   |
|         |           17/04/2003 15:01        |
|         |           Please respond to       |
|         |           platform-help-dev       |
|         |                                   |
|---------+----------------------------------->
  >
----------------------------------------------------------------------------------------------------------------------|

  |
|
  |       To:       platform-help-dev@xxxxxxxxxxx
|
  |       cc:
|
  |       Subject:  Re: [platform-help-dev] Basic Help system functionality
|
  |
|
  |
|
  >
----------------------------------------------------------------------------------------------------------------------|




Mark,

Perhaps you should pass an absolute path to the eclipse directory, not a
relative one.
Also, if you're using eclipse 2.1 then you'll likely have to use the
following constructor:

iHelp = new Help(new String[] {"-eclipsehome", "d:\\eclipse" });

-Dorian


|---------+----------------------------------->
|         |           Mark Farmer/UK/IBM@IBMGB|
|         |           Sent by:                |
|         |           platform-help-dev-admin@|
|         |           eclipse.org             |
|         |                                   |
|         |                                   |
|         |           04/17/2003 09:23 AM     |
|         |           Please respond to       |
|         |           platform-help-dev       |
|         |                                   |
|---------+----------------------------------->
  >
-------------------------------------------------------------------------------------------------------------|


  |
|
  |       To:       platform-help-dev@xxxxxxxxxxx
|
  |       cc:
|
  |       Subject:  [platform-help-dev] Basic Help system functionality
|
  |
|
  |
|
  >
-------------------------------------------------------------------------------------------------------------|





Hello,

I hope somone can help me, as I'm struggling with the apparently easy step
of integrating the standalone help system into my application.

I've implemented it by:

1.  Creating a org.eclipse.help.standalone.Help  object and starting it,
when my application starts.  This appears to run without problem, as no
message is returned

            iHelp = new Help("docs\\Eclipse\\plugins");
            iHelp.start();


2. Then to launch the help system and show some help, I use:

            iHelp.displayHelp();

Which, as far as I know, should launch the Eclipse help browser.  However I
get a "Could not display help: null"  message on the console (I've also
tried step 2 with an HTML help file, and the ToC file, and get the same
message).  Although when I run the main method on the Help object away from
my application, the help system launches ok and contains the desired help.
Does anyone have any idea why its not working in my application?

Any help would be greatly appreciated

Cheers, Mark


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



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




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





Back to the top