Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Add link to RCP Help in Windows Start menu
Add link to RCP Help in Windows Start menu [message #475245] Wed, 11 March 2009 13:44 Go to next message
Eclipse UserFriend
Originally posted by: j.hurrell.don'tspamme.castsoftware.com

We have an RCP application with help that we package in an Install
Shield setup. We would like to have a link placed in the Windows Start
menu that when clicked will open the RCP Help (Infocenter version - i.e.
Help > Help Contents).

I have noted that the port number defined in the infocenter URL is
seemingly random each time the Help is opened, so a hard link is out I
guess?

Any ideas?
Re: Add link to RCP Help in Windows Start menu [message #475248 is a reply to message #475245] Wed, 11 March 2009 15:05 Go to previous messageGo to next message
Lee Anne Kowalski is currently offline Lee Anne KowalskiFriend
Messages: 54
Registered: July 2009
Member
Hi James,

What startup command are you using that will underlie the Start menu choice?

I found in this Eclipse Help topic that there used to be a port
customization preference to set the port number on which the embedded
help server will listen to. It says "If port is not given, an arbitrary
port is picked by the system."

See:
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/ua_help_setup_preferences.htm

That help topic goes on to say that the port preference has been
deprecated, and instead to start Eclipse with "-vmargs
-Dserver_port=<port>".

So, I would first try using that (-vmargs -Dserver_port=<port>) on the
startup command that is being used for the Start menu choice.

(Note that there is also a -vmargs -Dserver_host=<host> option to set it
to use the local machine host=127.0.0.1 if you are launching the help
system to run in standalone mode.)

Hope this helps!
Lee Anne

James Hurrell wrote:
> We have an RCP application with help that we package in an Install
> Shield setup. We would like to have a link placed in the Windows Start
> menu that when clicked will open the RCP Help (Infocenter version - i.e.
> Help > Help Contents).
>
> I have noted that the port number defined in the infocenter URL is
> seemingly random each time the Help is opened, so a hard link is out I
> guess?
>
> Any ideas?
Re: Add link to RCP Help in Windows Start menu [message #475251 is a reply to message #475245] Thu, 12 March 2009 23:06 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
You can specify the server port as a VM argument, for example
-Dserver_port=8080 .


James Hurrell wrote:
> We have an RCP application with help that we package in an Install
> Shield setup. We would like to have a link placed in the Windows Start
> menu that when clicked will open the RCP Help (Infocenter version - i.e.
> Help > Help Contents).
>
> I have noted that the port number defined in the infocenter URL is
> seemingly random each time the Help is opened, so a hard link is out I
> guess?
>
> Any ideas?
Re: Add link to RCP Help in Windows Start menu [message #623248 is a reply to message #475245] Wed, 11 March 2009 15:05 Go to previous message
Lee Anne Kowalski is currently offline Lee Anne KowalskiFriend
Messages: 54
Registered: July 2009
Member
Hi James,

What startup command are you using that will underlie the Start menu choice?

I found in this Eclipse Help topic that there used to be a port
customization preference to set the port number on which the embedded
help server will listen to. It says "If port is not given, an arbitrary
port is picked by the system."

See:
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/ua_help_setup_preferences.htm

That help topic goes on to say that the port preference has been
deprecated, and instead to start Eclipse with "-vmargs
-Dserver_port=<port>".

So, I would first try using that (-vmargs -Dserver_port=<port>) on the
startup command that is being used for the Start menu choice.

(Note that there is also a -vmargs -Dserver_host=<host> option to set it
to use the local machine host=127.0.0.1 if you are launching the help
system to run in standalone mode.)

Hope this helps!
Lee Anne

James Hurrell wrote:
> We have an RCP application with help that we package in an Install
> Shield setup. We would like to have a link placed in the Windows Start
> menu that when clicked will open the RCP Help (Infocenter version - i.e.
> Help > Help Contents).
>
> I have noted that the port number defined in the infocenter URL is
> seemingly random each time the Help is opened, so a hard link is out I
> guess?
>
> Any ideas?
Re: Add link to RCP Help in Windows Start menu [message #623250 is a reply to message #475245] Thu, 12 March 2009 23:06 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
You can specify the server port as a VM argument, for example
-Dserver_port=8080 .


James Hurrell wrote:
> We have an RCP application with help that we package in an Install
> Shield setup. We would like to have a link placed in the Windows Start
> menu that when clicked will open the RCP Help (Infocenter version - i.e.
> Help > Help Contents).
>
> I have noted that the port number defined in the infocenter URL is
> seemingly random each time the Help is opened, so a hard link is out I
> guess?
>
> Any ideas?
Previous Topic:Add link to RCP Help in Windows Start menu
Next Topic:infocenter search database
Goto Forum:
  


Current Time: Sun Dec 21 15:51:04 GMT 2014

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

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