Now restRoot will not automatically load macros by default

Hi,

plz, notice that from now on it is necessary to provide restRoot with a --m 1 argument in order to load the macros inside the environment.

restRoot --m 1

Not loading the macros reduces considerably the time to load. And after all, macros can be loaded using restManager, and the available macros printed using restManager ListMacros

Hi, I 'm using this version

        Commit  : 002520ef (2020-11-24 21:14:21 +0100)
          Branch/Version : master/v2.2.21
          Compilation date : 2020-12-01 12:18

and using restRoot --m 1 I got an error

In file included from input_line_252:1: /media/storage/home/gloria/GitLab/REST21/install/master/macros/viewers/REST_ViewGeometry.C:3:10: fatal error: 'GdmlPreprocessor.h' file not found #include "GdmlPreprocessor.h"

though everything is working fine

Good, thanks for pointing that Gloria.

Actually the error was not manifesting at my local installation because GdmlPreprocessor.hh was still present at my installation path.

Also, the pipeline validation was not loading the macros, so we would not get a pipeline failing.

I added validation including restRoot --m 1 at the pipeline.

That should be fixed at development, and also at master where a triggered a new v2.2.20 version.