Changeset 3983


Ignore:
Timestamp:
2003-03-25T14:39:37+12:00 (21 years ago)
Author:
kjdon
Message:

changed a couple of things. this is now only for conversion of existing collections built in gs2. also it doesn't create the collectionConfig.xml file properly, so the new collection will have no services. this all needs tidying up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/bin/script/convert_coll_from_gs2.pl

    r3979 r3983  
    5353    $collectcfg = &colcfg::read_collect_cfg ($collconfigfilename);
    5454
    55     }
    56     $xmlcollconfigfilename = &util::filename_cat ($ENV{'GSDLCOLLECTDIR'}, "etc", "collectionConfig.xml");
    57     my $xmlcollectcfg;
    58     if (-e $collconfigfilename) {
    59     $collectcfg = &colcfg::read_collect_cfg ($collconfigfilename);
    60 
    61     }
    62    
     55    } else {
     56    print STDERR "collect.cfg not found!!";
     57    die "\n";
     58    }
     59
    6360
    6461    $buildconfigfilename = &util::filename_cat ($ENV{'GSDLCOLLECTDIR'}, "index", "build.cfg");
     
    6764    $buildcfg = &colcfg::read_build_cfg ($buildconfigfilename);
    6865
    69     }
     66    } else {
     67    print STDERR "build.cfg not found!!";
     68    die "\n";
     69    }
     70   
    7071
    7172     
Note: See TracChangeset for help on using the changeset viewer.