Running Minimal Standalone [message #523338] |
Thu, 25 March 2010 19:31  |
Eclipse User |
|
|
|
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(Eclipse.java:182)
at org.eclipse.help.internal.standalone.Eclipse.prepareJavaCommand(Eclipse.java:76)
at org.eclipse.help.internal.standalone.Eclipse.prepareCommand(Eclipse.java:48)
at org.eclipse.help.internal.standalone.Eclipse.run(Eclipse.java: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 #623998 is a reply to message #523911] |
Tue, 30 March 2010 11:59  |
Eclipse User |
|
|
|
Hi,
I tried changing the startup line to this:
java -classpath /home/ole/Documents/help/eclipse/plugins/org.eclipse.help.ba se_3.4.v20090526.jar org.eclipse.help.standalone.Help -command start -noexec -eclipsehome /home/ole/Documents/infocenter/eclipse -port 46000 -host 127.0.0.1
And now it runs, but it when I look at the URL http://127.0.0.1:46000/help/index.jsp all the help from the eclipsehome location is included in the infocenter. So it seems that instead of reading the help content from the classpath setting, it is now reading it from eclipsehome.
Is there a way to start up a minimal eclipse infocenter with just the minimal jars and only the help plugins that are user deployed? Also is this a "Documentation bug?". My understanding of the documentation is that the minimal recreated eclipse plugin directory should have had everything needed to run the infocenter?
Thanks again,
- Ole
|
|
|
Re: Running Minimal Standalone [message #623999 is a reply to message #523911] |
Tue, 30 March 2010 12:00  |
Eclipse User |
|
|
|
Hi,
I tried changing the startup line to this:
java -classpath /home/ole/Documents/help/eclipse/plugins/org.eclipse.help.ba se_3.4.v20090526.jar org.eclipse.help.standalone.Help -command start -noexec -eclipsehome /home/ole/Documents/infocenter/eclipse -port 46000 -host 127.0.0.1
And now it runs, but it when I look at the URL http://127.0.0.1:46000/help/index.jsp all the help from the eclipsehome location is included in the infocenter. So it seems that instead of reading the help content from the classpath setting, it is now reading it from eclipsehome.
Is there a way to start up a minimal eclipse infocenter with just the minimal jars and only the help plugins that are user deployed? Also is this a "Documentation bug?". My understanding of the documentation is that the minimal recreated eclipse plugin directory should have had everything needed to run the infocenter?
Thanks again,
- Ole
|
|
|
|
Re: Running Minimal Standalone [message #624086 is a reply to message #624085] |
Wed, 07 April 2010 12:37  |
Eclipse User |
|
|
|
Super - I'll keep an eye on the bug reports and test out fixes. Please let me know if there's anything else I can do to help (Update documentation, etc.). Also, I was thinking that this could be made simpler by adding a helpPluginsHome parameter. Then the documentation would just say this:
Run eclipse standalone passing the helpPluginsHome parameter pointing to the workspace with the help plugins.
I'm running Fedora, and would love to be able to start the infocenter like this:
java -classpath /usr/lib64/eclipse/plugins/org.eclipse.help.base_3.4.v200905 26.jar org.eclipse.help.standalone.Help -command start -noexec -helpPluginsHome /home/ole/workspace -port 46000 -host 127.0.0.1
If this sounds like a good idea I'll add the notes to a bugzilla ticket, or start a new one, which ever is better.
Thanks,
- Ole
|
|
|
Powered by
FUDForum. Page generated in 0.07357 seconds