Skip to main content

RE: [JAVAHELP] Jbuilder and JAVAHELP

1 reply [Last post]
Anonymous

Bashiro,

Here's a reply from our application engineer:

We use a property file that maps the class name to the FrameMaker markers.
Whenever help is invoked, getHelp(classname) uses classname as the key and
then returns the FrameMaker marker as the value. The marker then maps to
the proper htm file created by WebWorks Publisher.

Mike

-----Original Message-----
From: Bashiro [mailto:bashiro@ENTER.VG]
Sent: Thursday, September 23, 2004 1:47 PM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Jbuilder and JAVAHELP

your suggestion sounds logic.
I use java 1.4 so obviously it
cannot be the java version. I will try
to find out why.

But by the way did you use similar code
in embeding the help into your application ?

Thanks in advance
bashiro

> Hello Bashiro,
>
> I was getting a similar error a few weeks ago:
>
> My error:
> Help Manager is not initialized. Reason =>
> javax.help.HelpSetException:Could not parse
> Got an IOException (null)
> Parsing failed for null
>
> Your error:
> Parsing failed for null
> javax.help.HelpSetException: Could not parse
> Got an IOException (null)
> Parsing failed for null
>
> I upgraded from jdk 1.2.2 to jdk 1.3.1 and upgraded from WebWorks 7.0 to
> WebWorks 8.0.5.1556.
> I'm not sure which upgrade fixed the problem, but my application now
> accepts
> my jar file.
>
> Mike
>
>
> -----Original Message-----
> From: Bashiro [mailto:bashiro@ENTER.VG]
> Sent: Thursday, September 23, 2004 11:53 AM
> To: JAVAHELP-INTEREST@JAVA.SUN.COM
> Subject: [JAVAHELP] Jbuilder and JAVAHELP
>
>
> Hello ,
>
> I have created a javahelp file. I can view the help files
> with the java hsviewer.jar.
> My problem is how to embed it into my application.
> I have tried and tried but I keep on geting this error.
>
>
> the hs file is in the directory with my project files.
>
> Any help please ?
>
> bashiro
>
> ---------------
> code sample;
> ---------------
>
> String hsName = "HelpSet.hs";
>
> ClassLoader cl = Frame1.class.getClassLoader();
>
> URL url = HelpSet.findHelpSet(cl, hsName);
>
> helpViewer = new JHelp(new HelpSet(cl, url));
>
> helpViewer.setCurrentID("Introduction");
> } catch (Exception e) {
> System.err.println("API Help Set not found \n" + e.getMessage()+"\n"
> +e+"\n");
> }
> jPanel1.add(helpViewer);
> }
>
> ------------
> Error code
> ----------------
>
> Parsing failed for null
> javax.help.HelpSetException: Could not parse
> Got an IOException (null)
> Parsing failed for null
>
>
> --------------------
>
>
****************************************************************************
> ****
>
> 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.
>
>
> ____________________________________
> This message is intended only for the personal and confidential use of the
> designated recipients named above. If you are not the intended recipient
> of
> this message you are hereby notified that any review, dissemination,
> distribution or copying of this message is strictly prohibited. This
> communication is for information purposes only and should not be regarded
> as
> an offer or any official confirmation of any transaction, or as an
> official
> statement of Polaris Networks Inc. Email transmission cannot be guaranteed
> to be secure or error-free. Therefore, we do not represent that this
> information is complete or accurate and it should not be relied upon as
> such. All information is subject to change without notice.
>
>
****************************************************************************
****
>
> 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.
>

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

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.

____________________________________
This message is intended only for the personal and confidential use of the
designated recipients named above. If you are not the intended recipient of
this message you are hereby notified that any review, dissemination,
distribution or copying of this message is strictly prohibited. This
communication is for information purposes only and should not be regarded as
an offer or any official confirmation of any transaction, or as an official
statement of Polaris Networks Inc. Email transmission cannot be guaranteed
to be secure or error-free. Therefore, we do not represent that this
information is complete or accurate and it should not be relied upon as
such. All information is subject to change without notice.

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

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.
Bashiro

Thanks Mike,

Thanks, I will try to do the work around
and see what I can come out with.
Once again thanks

bashiro

> Bashiro,
>
> Here's a reply from our application engineer:
>
> We use a property file that maps the class name to the FrameMaker markers.
> Whenever help is invoked, getHelp(classname) uses classname as the key and
> then returns the FrameMaker marker as the value. The marker then maps to
> the proper htm file created by WebWorks Publisher.
>
> Mike
>
> -----Original Message-----
> From: Bashiro [mailto:bashiro@ENTER.VG]
> Sent: Thursday, September 23, 2004 1:47 PM
> To: JAVAHELP-INTEREST@JAVA.SUN.COM
> Subject: Re: [JAVAHELP] Jbuilder and JAVAHELP
>
>
> your suggestion sounds logic.
> I use java 1.4 so obviously it
> cannot be the java version. I will try
> to find out why.
>
> But by the way did you use similar code
> in embeding the help into your application ?
>
> Thanks in advance
> bashiro
>
>> Hello Bashiro,
>>
>> I was getting a similar error a few weeks ago:
>>
>> My error:
>> Help Manager is not initialized. Reason =>
>> javax.help.HelpSetException:Could not parse
>> Got an IOException (null)
>> Parsing failed for null
>>
>> Your error:
>> Parsing failed for null
>> javax.help.HelpSetException: Could not parse
>> Got an IOException (null)
>> Parsing failed for null
>>
>> I upgraded from jdk 1.2.2 to jdk 1.3.1 and upgraded from WebWorks 7.0 to
>> WebWorks 8.0.5.1556.
>> I'm not sure which upgrade fixed the problem, but my application now
>> accepts
>> my jar file.
>>
>> Mike
>>
>>
>> -----Original Message-----
>> From: Bashiro [mailto:bashiro@ENTER.VG]
>> Sent: Thursday, September 23, 2004 11:53 AM
>> To: JAVAHELP-INTEREST@JAVA.SUN.COM
>> Subject: [JAVAHELP] Jbuilder and JAVAHELP
>>
>>
>> Hello ,
>>
>> I have created a javahelp file. I can view the help files
>> with the java hsviewer.jar.
>> My problem is how to embed it into my application.
>> I have tried and tried but I keep on geting this error.
>>
>>
>> the hs file is in the directory with my project files.
>>
>> Any help please ?
>>
>> bashiro
>>
>> ---------------
>> code sample;
>> ---------------
>>
>> String hsName = "HelpSet.hs";
>>
>> ClassLoader cl = Frame1.class.getClassLoader();
>>
>> URL url = HelpSet.findHelpSet(cl, hsName);
>>
>> helpViewer = new JHelp(new HelpSet(cl, url));
>>
>> helpViewer.setCurrentID("Introduction");
>> } catch (Exception e) {
>> System.err.println("API Help Set not found \n" + e.getMessage()+"\n"
>> +e+"\n");
>> }
>> jPanel1.add(helpViewer);
>> }
>>
>> ------------
>> Error code
>> ----------------
>>
>> Parsing failed for null
>> javax.help.HelpSetException: Could not parse
>> Got an IOException (null)
>> Parsing failed for null
>>
>>
>> --------------------
>>
>>
> ****************************************************************************
>> ****
>>
>> 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.
>>
>>
>> ____________________________________
>> This message is intended only for the personal and confidential use of
>> the
>> designated recipients named above. If you are not the intended recipient
>> of
>> this message you are hereby notified that any review, dissemination,
>> distribution or copying of this message is strictly prohibited. This
>> communication is for information purposes only and should not be
>> regarded
>> as
>> an offer or any official confirmation of any transaction, or as an
>> official
>> statement of Polaris Networks Inc. Email transmission cannot be
>> guaranteed
>> to be secure or error-free. Therefore, we do not represent that this
>> information is complete or accurate and it should not be relied upon as
>> such. All information is subject to change without notice.
>>
>>
> ****************************************************************************
> ****
>>
>> 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.
>>
>
> ****************************************************************************
> ****
>
> 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.
>
>
> ____________________________________
> This message is intended only for the personal and confidential use of the
> designated recipients named above. If you are not the intended recipient
> of
> this message you are hereby notified that any review, dissemination,
> distribution or copying of this message is strictly prohibited. This
> communication is for information purposes only and should not be regarded
> as
> an offer or any official confirmation of any transaction, or as an
> official
> statement of Polaris Networks Inc. Email transmission cannot be guaranteed
> to be secure or error-free. Therefore, we do not represent that this
> information is complete or accurate and it should not be relied upon as
> such. All information is subject to change without notice.
>
> ********************************************************************************
>
> 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.
>

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

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.