Skip to main content
May 19, 2010
Question

Odd behavior generating webhelp... ehlpdhtm.js link is modified

  • May 19, 2010
  • 1 reply
  • 1201 views

We've a large Help system with nearly 20 projects merged into a merged webhelp system. Using RoboHelp 8.0.2/ RSC 3.1 on a windows XP system.

One of the projects behaves strangely when the webhelp is generated causing a problem when viewed in Mozilla. The script clause goes from:

<script src="../../ehlpdhtm.js" type="text/javascript" language="JavaScript1.2"></script>

To:

<script src="..\..\ehlpdhtm.js" type="text/javascript" language="JavaScript1.2"></script>

This is the only relative link that is modified this way in any of the projects, but it is causing me a serious headache. I've experimented with a number of modifications to the layout, but the link continues to be converted. Any idea why? I've the feeling I'm overlooking something simple.

Some background:

Until recently, I had ehlpdhtm.js contained in all our projects as a baggage file, but based on information I read in this forum and on Peter Grainge's site, I have since removed it. I'm beginnning to regret that decison, since removing the baggage file has caused more instability than we experienced while it was part of the projects, and since we generate nightly with the command line tool, ehlpdhtm.js is not recreated they way it is with the GUI.

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
May 19, 2010

Hi Mark

I have no idea why that is happening. The only thought is does this only happen when you command line compile or does it also happen if you compile via the GUI. Not sure that knowing there is a difference helps but it seems like a start.

I wasn't aware that ehlpdhtm.js doesn't get recreated but I thought the info was to do with how to update it. Thus having done that via the GUI, it shouldn't be an issue. Can you point me back to the post and where you are looking on my site?


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
May 19, 2010

Yes, it seems to happen only from the command line, and only in a single project.

I removed ehlpdhtml.js after reading/responding in this thread:

http://forums.adobe.com/thread/603888?tstart=0

and reported that ehlpdhtml.js isn't created from the command line here:

http://forums.adobe.com/thread/613361?tstart=0

The snippet recommending what not to include in source control is snippet 116.

Its not beneath me to do some manual touch up before we release to clean up this issue, but I was hoping I could resolve this programattically.

.MW

Peter Grainge
Community Expert
Community Expert
May 19, 2010

I wish I could help you with personal experience here of RSC and the command line but as you can see, what is on my site is what others have reported. I would add that the information was from good sources.

Can I just try to clarify what is being asked overall?

You had a problem with crashing and you saw a post about the same issue. Having seen Helen's project, it is not a typical project so I don't think you should assume the cause is the same. Also, if I have followed the threads right, you did find a different cause, moving the project from the D partition to the C partition. Correct?

You say that removing ehlpdhtm.js from baggage files has caused more instability. Is that what you have now tracked down to being caused by the change from a forward slash to a back slash? I can see that would cause a problem and right now I cannot think of the cause.

First though I am trying to find my way through the source control and baggage file arguments. When you first create a project RH grabs the ehlpdhtm.js file from program files so it is in the project. When you generate help via either the GUI or the command line it should be there. Am I right in thinking that if you had checked it in but not out, that would have an effect on it being included in the output? (Sorry but source control is not my scene.) Maybe that is why you were adding it to baggage?

Maybe the only issue to focus on is those slashes being messed up?


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.