Changeset 15728

Show
Ignore:
Timestamp:
27.05.2008 15:46:48 (11 years ago)
Author:
mdewsnip
Message:

(Adding new DB support) Now writes the infodbtype field to the build.cfg file so the collection server knows what type of dbclass to use with the collection.

Location:
gsdl/trunk/perllib
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/basebuilder.pm

    r15727 r15728  
    467467    $build_cfg->{'maxnumeric'} = $self->{'maxnumeric'}; 
    468468 
     469    $build_cfg->{'infodbtype'} = $self->{'infodbtype'}; 
     470 
    469471    $self->build_cfg_extra($build_cfg); 
    470472 
  • gsdl/trunk/perllib/colcfg.pm

    r15724 r15728  
    129129# the build configuration file data is stored in the form 
    130130# 
     131# {'infodbtype'}->string 
    131132# {'builddate'}->string 
    132133# {'buildtype'}->string 
     
    149150 
    150151    return &cfgread::read_cfg_file ($filename,  
    151            q/^(builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem|stemindexes)$/, 
     152           q/^(infodbtype|builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem|stemindexes)$/, 
    152153           q/^(indexmap|subcollectionmap|languagemap|notbuilt|indexfields|indexfieldmap|indexlevels|levelmap)$/); 
    153154                     
     
    158159 
    159160    &cfgread::write_cfg_file($filename, $data, 
    160            q/^(builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem|stemindexes)$/, 
     161           q/^(infodbtype|builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem|stemindexes)$/, 
    161162           q/^(indexmap|subcollectionmap|languagemap|notbuilt|indexfields|indexfieldmap|indexlevels|levelmap)$/);             
    162163}