Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Using standalone help system and displayHelp() method not displaying new browser
Using standalone help system and displayHelp() method not displaying new browser [message #472516] Mon, 07 April 2008 18:42 Go to next message
Ted Lyons is currently offline Ted LyonsFriend
Messages: 14
Registered: July 2009
Junior Member
Hello,

I am using the class org.eclipse.help.standalone.Help and trying to get
the displayHelp() method to work. If I use the command line, it works
fine and a new browser window appears displaying the page.

Using java code, I can see that the Help system does start, as I can
manually bring up a browser and enter the url and see the data. However,
using displayHelp() does not bring up a browser displaying the page
automatically like the command line API does.

Briefly, the code looks like this:
String[] args = new String[4];
args[0] = "-eclipseHome";
args[1] = "C:\\java samples\\eclipse";
args[2] = "-port";
args[3] = "59233";
System.out.println("about to init help");
Help helpSystem = new Help(args);
try {
helpSystem.start();
helpSystem.displayHelp();
System.out.println("Eclipse Help subsystem started");
return;
}
catch (Exception e) {
e.printStackTrace();
}
Re: Using standalone help system and displayHelp() method not displaying new browser [message #472521 is a reply to message #472516] Tue, 08 April 2008 14:22 Go to previous message
Ted Lyons is currently offline Ted LyonsFriend
Messages: 14
Registered: July 2009
Junior Member
Just an update. If I run this from inside the eclipse workbench, the help
browser DOES display. If I run it from the command line, it does NOT.
And if I put the code in a servlet that runs under BEA server, it does NOT
display.
Re: Using standalone help system and displayHelp() method not displaying new browser [message #611141 is a reply to message #472516] Tue, 08 April 2008 14:22 Go to previous message
Ted Lyons is currently offline Ted LyonsFriend
Messages: 14
Registered: July 2009
Junior Member
Just an update. If I run this from inside the eclipse workbench, the help
browser DOES display. If I run it from the command line, it does NOT.
And if I put the code in a servlet that runs under BEA server, it does NOT
display.
Previous Topic:Infocenter Web app , Tomcat
Next Topic:Infocenter web app: configuring logging in JBoss 4.2.1
Goto Forum:
  


Current Time: Thu Mar 28 17:56:10 GMT 2024

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

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

Back to the top