Skip to main content

[JAVAHELP] How to test context-sensitive help calls

2 replies [Last post]
Anonymous

Hello,

I am looking for a way to test whether help IDs are implemented correctly before I deliver the help to the software department. I was hoping that hsviewer.jar would provide something like a command line option but cannot find anything in the docs.

java -jar /hsviewer.jar -helpid myhelpid

Perhaps someone with Java programming background can give me a hint?

Thanks,

- Michael

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dgeddes
Offline
Joined: 2010-05-22
Points: 0

try
java -jar
/hsviewer.jar -helpset
/ -id

or maybe it was

java -jar
/hsviewer.jar -helpset
/

but it worked from the Windows cmd line and in a .bat file. Just make sure that the is a valid topic url in your map file.

Roger Brinkley

Michael M�ller-Hillebrand wrote:
> Hello,
>
> I am looking for a way to test whether help IDs are implemented
> correctly before I deliver the help to the software department. I was
> hoping that hsviewer.jar would provide something like a command line
> option but cannot find anything in the docs.
>
> java -jar
/hsviewer.jar -helpid myhelpid

There isn't such a feature in the hsviewer. Of course you could write a
a program that create a helpset object from your helpset then gets a
list of all the map ids and trys to open each of the URLS from the map
id verifying that URL exists. Shouldn't be too hard to write. Maybe
around 20-30 lines of code.

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.