Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Starting help system webapp
Starting help system webapp [message #336246] Wed, 03 June 2009 10:26 Go to next message
Bert Vingerhoets is currently offline Bert VingerhoetsFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,

I'm trying to integrate documentation into a headless server application
running on the Eclipse platform so that the help pages can be consulted
with a browser.

As far as I understand the system, one way to start the 'help' webapp is
to use the org.eclipse.help.standalone.Help or
org.eclipse.help.standalone.InfoCenter classes. However, these start a new
instance of Eclipse, which is silly because I already have one running.

At the moment I'm calling
org.eclipse.help.internal.base.BaseHelpSystem.ensureWebappRu nning() and
ignoring the warnings about discouraged access. The problem with this
approach is that I can't seem to configure the webapp's port (unless I
pass the -Dserver_port VM argument, which is not an option as we have a
centralized configuration file which should contain this kind of setting).

Is there an API (that allows specifying critical parameters such as
listening port) to get the help webapp started from an Eclipse-based
application?


Regards,
Bert Vingerhoets
Re: Starting help system webapp [message #336249 is a reply to message #336246] Wed, 03 June 2009 15:13 Go to previous message
Eclipse UserFriend
Originally posted by: nospam_kowalskilee.gmail.com

Hi Bert,

Is your question more like how to get the help webapp started from an
Eclipse-based application without starting a new instance of Eclipse?

I recommend that you re-post your question to the eclipse.platform.ua
newsgroup. The Eclipse UA committers monitor that group and will more
likely see a posting there.

Hope this helps,
Lee Anne

Bert Vingerhoets wrote:
> Hi,
>
> I'm trying to integrate documentation into a headless server application
> running on the Eclipse platform so that the help pages can be consulted
> with a browser.
>
> As far as I understand the system, one way to start the 'help' webapp is
> to use the org.eclipse.help.standalone.Help or
> org.eclipse.help.standalone.InfoCenter classes. However, these start a
> new instance of Eclipse, which is silly because I already have one running.
>
> At the moment I'm calling
> org.eclipse.help.internal.base.BaseHelpSystem.ensureWebappRu nning() and
> ignoring the warnings about discouraged access. The problem with this
> approach is that I can't seem to configure the webapp's port (unless I
> pass the -Dserver_port VM argument, which is not an option as we have a
> centralized configuration file which should contain this kind of setting).
>
> Is there an API (that allows specifying critical parameters such as
> listening port) to get the help webapp started from an Eclipse-based
> application?
>
>
> Regards,
> Bert Vingerhoets
>
Previous Topic:Add New Wizards to the File>New shortcut
Next Topic:alt-tab icon
Goto Forum:
  


Current Time: Fri Nov 21 02:32:25 GMT 2014

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

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