Changeset 299


Ignore:
Timestamp:
1999-06-28T10:04:47+12:00 (25 years ago)
Author:
sjboddie
Message:

now read in build.cfg before collect.cfg so that the indexmaps
are available if required to decode defaultindex, defaultsubcollection,
and defaultlanguage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/nullproto.cpp

    r269 r299  
    1212/*
    1313   $Log$
     14   Revision 1.8  1999/06/27 22:04:47  sjboddie
     15   now read in build.cfg before collect.cfg so that the indexmaps
     16   are available if required to decode defaultindex, defaultsubcollection,
     17   and defaultlanguage
     18
    1419   Revision 1.7  1999/06/15 02:16:45  sjboddie
    1520   small change to prevent collectdir configuration string from being passed
     
    7782
    7883      // configure this collection server
     84
     85      // note that we read build.cfg before collect.cfg so that the indexmaps
     86      // are available to decode defaultindex, defaultsubcollection, and
     87      // defaultlanguage
     88      if (!build_cfg_read (*((*here).second.c), configinfo.gsdlhome,
     89               configinfo.collection)) {
     90    outconvertclass text_t2ascii;
     91    logout << text_t2ascii
     92           << "Error: couldn't read build.cfg file for collection \""
     93           << configinfo.collection << "\", gsdlhome=\""
     94           << configinfo.gsdlhome << "\"\n";
     95    return false;
     96      }
     97
    7998      if (!collect_cfg_read (*((*here).second.c), configinfo.gsdlhome,
    8099                 configinfo.collection)) {
     
    83102           << "Error: couldn't read collect.cfg file for collection \""
    84103           << configinfo.collection << "\", gsdlhome=\""
    85            << configinfo.gsdlhome << "\"\n";
    86     return false;
    87       }
    88 
    89       if (!build_cfg_read (*((*here).second.c), configinfo.gsdlhome,
    90                configinfo.collection)) {
    91     outconvertclass text_t2ascii;
    92     logout << text_t2ascii
    93            << "Error: couldn't read build.cfg file for collection \""
    94            << configinfo.collection << "\", gsdlhome=\""
    95104           << configinfo.gsdlhome << "\"\n";
    96105    return false;
Note: See TracChangeset for help on using the changeset viewer.