[ROOT] THtml problems: error messages in MakeAll and spurious links in class index (rsholmes)

From: Richard S. Holmes (rsholmes@physics.syr.edu)
Date: Fri Oct 25 2002 - 18:40:57 MEST


I've used THtml successfully in the past to generate documentation, but
now it's acting up on me -- I don't know if it's because I'm now doing
something wrong, or if it's because of a newer version of ROOT.  I'm
using 3.03/09 under RedHat Linux 7.3, gcc 2.96.

When I try to do THtml* th = new THtml() and th->MakeAll() I get huge
numbers of errors like the following:

                  3 htmldoc/TWbox.html
 /bin/cp: omitting directory `/home/rsholmes/public_html/rootproblem/./'
 Error in <THtml::Make>: Can't find file '(null)' !
 Error in <THtml::Make>: Can't open file '(null)' !

That's the first problem.  The second problem is, HTML output does get
produced, but several ROOT classes are erroneously included in
USER_Index.html, with links to more-or-less empty pages in my htmldoc
directory instead of the ROOT web site pages.  These same bad links are
used in the full class index too.

See the following simple test case:

Source files: <http://mep1.phy.syr.edu/~rsholmes/rootproblem/main.cc>,
<http://mep1.phy.syr.edu/~rsholmes/rootproblem/RootTest.hh>
<http://mep1.phy.syr.edu/~rsholmes/rootproblem/RootTest.cc>
<http://mep1.phy.syr.edu/~rsholmes/rootproblem/RootTestLinkDef.hh>

Makefile: <http://mep1.phy.syr.edu/~rsholmes/rootproblem/Makefile>

.rootrc: <http://mep1.phy.syr.edu/~rsholmes/rootproblem/.rootrc>

USER class index with erroneous ROOT class entries:
<http://mep1.phy.syr.edu/~rsholmes/rootproblem/htmldoc/USER_Index.html>

-- 
Richard S. Holmes, Research Assistant Professor
Physics Department, Syracuse University
Syracuse, NY 13244
(315) 443-5977



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:15 MET