Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Running Minimal Standalone
Running Minimal Standalone [message #623984] Thu, 25 March 2010 23:31 Go to next message
Ole Ersoy is currently offline Ole Ersoy
Messages: 201
Registered: July 2009
Senior Member
Hi,

I followed the instructions for running a minimal infocenter standalone.

Platform Plug-in Developer Guide > Programmer's Guide > User assistance support > Help > Configuration/setup > [Optional] Installing a minimal stand-alone help system

When I try to start the infocenter using the minimal plugins directory, I get the following exception:

java.lang.Exception: Plugins directory /home/ole/Documents/help/eclipse/plugins does not contain a valid startup jar. Pass a correct -eclipsehome option
at org.eclipse.help.internal.standalone.Eclipse.getStartupJar(E clipse.java:182)
at org.eclipse.help.internal.standalone.Eclipse.prepareJavaComm and(Eclipse.java:76)
at org.eclipse.help.internal.standalone.Eclipse.prepareCommand( Eclipse.java:48)
at org.eclipse.help.internal.standalone.Eclipse.run(Eclipse.jav a:87)

Is it possible to point the infocenter at a plugins directory that is different from the plugins directory contained in the eclipse folder? Something like -helpPluginDirectory /home/ole/help/onlyHelpPlugins

TIA,
- Ole
Re: Running Minimal Standalone [message #623997 is a reply to message #623984] Mon, 29 March 2010 19:27 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris Goldthorpe
Messages: 815
Registered: July 2009
Senior Member
Standalone help uses the eclipse launcher and needs to know where to find that. You can specify the location using the eclipsehome parameter. Below is the documentation for this parameter

-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.
Re: Running Minimal Standalone [message #624139 is a reply to message #623984] Mon, 24 May 2010 10:49 Go to previous messageGo to next message
Richard Pineger is currently offline Richard Pineger
Messages: 11
Registered: July 2009
Junior Member
Hi, this is slightly related.

I need to run a minimal standalone without the need for start and stop scripts. In other words, I want users to be able to click the cross in the top-right of the browser and for it to close cleanly, including all processes, as if the stop script had been invoked. Does anyone have a suggestion for how to achieve this?

Richard
Re: Running Minimal Standalone [message #624141 is a reply to message #624139] Mon, 24 May 2010 14:19 Go to previous message
Ole Ersoy is currently offline Ole Ersoy
Messages: 201
Registered: July 2009
Senior Member
Hi,

The help system is packaged as a WAR file now:

http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/ua_help_war.htm

So you could deploy as described, and then just add the capabilities for starting and stopping. For an example see the Tomcat Manager Web App. It can start and stop deployed web apps per the manager page by clicking on start/stop links.

HTH,
- Ole
Previous Topic:Running Minimal Standalone
Next Topic:custom property view
Goto Forum:
  


Current Time: Wed Sep 17 05:39:41 GMT 2014

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

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