Re: [ROOT] Automatic HTML generation

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Dec 07 2000 - 19:19:52 MET


Hi Ingo,
In your .rootrc file you should have the line (see model in system.rootrc)

Unix.*.Root.Html.SourceDir:  ./:/x01/usr/strauch/testarea/particles/

The * means that this definition is valid for all Root applications.
If you specify only "Unix.Root.Html.SourceDir:", the definition is only for he
standard Root application called "TRint" (see Root main program).
In case your application has a different name, you should specify
Unix.MyApp.Root.html.SourceDir: to restrict the definition to MyApp only
or
Unix.*.Root..   to apply to all applications.

This is a general rule for all environment properties defined in .rootrc.

Rene Brun


Ingo Strauch wrote:
> 
> Hi ROOTers!
> 
> I have a problem with THtml::MakeAll():
> 
> After loading the libraries with my classes I want to use
> 
> root [0] THtml html
> root [1] html.MakeAll()
> 
> but I just get --skipped--
> 
> The sourcecode is in /x01/usr/strauch/testarea/particles/ and I have added to
> my rootrc
> 
> Root.Html.SourceDir:        /x01/usr/strauch/testarea/particles/:./
> Unix.Root.Html.SourceDir:        /x01/usr/strauch/testarea/particles/:./
> 
> It works if I start root in the directory where the source is but not in
> others.
> 
> Since I use a quite complicated Makefile, this is what is stored as filenames
> in the corresponding TClass:
> 
>  c->GetImplFileName();
> root [7] c->GetImplFileName()
> "i386_suse63/../H1ParticleCand.C"
> root [8] c->GetDeclFileName()
> /x01/usr/strauch/testarea/particles/../particles/H1ParticleCand.h"
> 
> Does anybody know how to get it working so I don't have to start root in the
> directory where the sources are? That would be quite important since the
> sources are spread over several directories...
> 
> Cheers,
> Ingo
> 
> P.S.: It would be quite helpful if there was an output, why certain classes
> have been skipped. Or is this already possible?
> 
> ----------------------------------------------------------------------------
> Ingo Strauch       Budapester Str. 30, 20359 Hamburg, Tel.: +49 40 7421 4722
> ----------------------------------------------------------------------------
> DESY, Group H1/AAC1, Room 1c354      | I.Phys.Inst. RWTH Aachen, Room 28B210
> Notkestr. 85, 22607 Hamburg          |       Sommerfeldstr. 14, 52056 Aachen
> Tel: +49 40 8998-2312 / Fax: -4385   |  Tel: +49 241 80-7183 / Fax: 8888-661
> strauch@mail.desy.de                 |   strauch@toots.physik.rwth-aachen.de
> ----------------------------------------------------------------------------
> http://www-h1.desy.de/~strauch/        or        http://come.to/Ingo.Strauch
> ----------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:38 MET