Changeset 10162


Ignore:
Timestamp:
2005-06-23T11:28:40+12:00 (19 years ago)
Author:
davidb
Message:

import.pl and export.pl updated in-line with merging of expinfo and arcinfo
into one class (the "merged" class is arcinfo as this was the original class
and expinfo was unnecessarily cloned from it).

Location:
trunk/gsdl/bin/script
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/export.pl

    r9951 r10162  
    4141}
    4242
    43 use expinfo;
     43use arcinfo;
    4444use colcfg;
    4545use plugin;
     
    408408        }
    409409       
    410         $export_info = new expinfo();
     410        $export_info = new arcinfo();
    411411        $export_info -> load_info ($export_info_filename); 
    412412       
    413413        $processor = new docsave ($collection, $export_info, $verbosity, $gzip, $groupsize, $out, $service, $saveas);
    414414       
    415         $processor->setexportdir ($exportdir);
     415        $processor->setoutputdir ($exportdir);
    416416       
    417417        $processor->set_sortmeta ($sortmeta) if defined $sortmeta;
     
    429429       
    430430        &plugin::end($pluginfo, $processor);
     431
     432        &plugin::deinit($pluginfo, $processor);
    431433       
    432434        # write out the export information file
  • trunk/gsdl/bin/script/import.pl

    r9970 r10162  
    426426    # create a docsave object to process the documents
    427427    $processor = new docsave ($collection, $archive_info, $verbosity, $gzip, $groupsize, $out, $service, $saveas);
    428     $processor->setarchivedir ($archivedir);
     428    $processor->setoutputdir ($archivedir);
    429429    $processor->set_sortmeta ($sortmeta, $removeprefix, $removesuffix) if defined $sortmeta;
    430430    $processor->set_OIDtype ($OIDtype);
     
    442442   
    443443    &plugin::end($pluginfo, $processor);
     444
     445    &plugin::deinit($pluginfo, $processor);
    444446
    445447    # write out the archive information file
Note: See TracChangeset for help on using the changeset viewer.