Ignore:
Timestamp:
2011-08-24T16:21:08+12:00 (13 years ago)
Author:
davidb
Message:

Support for orthogonal build types (such as audioDB)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/colcfg.pm

    r23939 r24464  
    4646# {'textcompress'}->string
    4747# {'buildtype'}->string
     48# {'orthogonalbuildtypes'}->array of strings
    4849# {'maxnumeric'}->string
    4950# {'separate_cjk'}->string
     
    114115# {'builddate'}->string
    115116# {'buildtype'}->string
     117# {'orthogonalbuildtypes'}->array of strings
    116118# {'metadata'}->array of strings
    117119# {'languages'}->array of strings
     
    167169                    q/^(infodbtype|creator|public|defaultindex|importdir|/ .
    168170                    q/archivedir|cachedir|builddir|removeold|/ .
    169                     q/textcompress|buildtype|no_text|keepold|gzip|/ .
     171                    q/textcompress|buildtype|othogonalbuildtypes|no_text|keepold|gzip|/ .
    170172                    q/verbosity|remove_empty_classifications|OIDtype|OIDmetadata|/ .
    171173                    q/groupsize|maxdocs|debug|mode|saveas|/ .
     
    174176                    q/no_strip_html|index|sections_index_document_metadata|/ .
    175177                    q/store_metadata_coverage)$/,
    176                     q/(maintainer|languages|indexsubcollections|/ .
     178                    q/(maintainer|languages|indexsubcollections|orthogonalbuildtypes/ .
    177179                       q/indexes|indexoptions|dontbuild|dontgdbm|mirror|levels|plugout|/ .
    178180                       q/searchtype|searchtypes)$/,
     
    195197                 q/maxnumeric|languagemetadata/ .
    196198                 q/no_strip_html|index|sections_index_document_metadata)$/,
    197                  q/^(maintainer|languages|indexsubcollections|/ .
     199                 q/^(maintainer|languages|indexsubcollections|orthogonalbuildtypes/ .
    198200                 q/indexes|indexoptions|dontbuild|dontgdbm|mirror|levels|/.
    199201                 q/searchtype|searchtypes)$/,
     
    226228    return &cfgread::read_cfg_file ($filename,
    227229           q/^(earliestdatestamp|infodbtype|builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem|stemindexes|separate_cjk)$/,
    228            q/^(indexmap|subcollectionmap|languagemap|notbuilt|indexfields|indexfieldmap|indexlevels|levelmap)$/);
     230           q/^(indexmap|subcollectionmap|languagemap|orthogonalbuildtypes|notbuilt|indexfields|indexfieldmap|indexlevels|levelmap)$/);
    229231                   
    230232}
     
    236238    &cfgread::write_cfg_file($filename, $data,
    237239           q/^(earliestdatestamp|infodbtype|builddate|buildtype|numdocs|numsections|numwords|numbytes|maxnumeric|textlevel|indexstem|stemindexes|separate_cjk)$/,
    238            q/^(indexmap|subcollectionmap|languagemap|notbuilt|indexfields|indexfieldmap|indexlevels|levelmap)$/);           
     240           q/^(indexmap|subcollectionmap|languagemap|orthogonalbuildtypes|notbuilt|indexfields|indexfieldmap|indexlevels|levelmap)$/);           
    239241}
    240242
Note: See TracChangeset for help on using the changeset viewer.