Changeset 19751
- Timestamp:
- 2009-06-08T12:37:56+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/colcfg.pm
r18528 r19751 93 93 q/^(collectionmeta)$/); 94 94 } 95 95 96 sub read_collection_cfg_xml { 96 97 my ($filename) = @_; … … 98 99 return &cfgread4gs3::read_cfg_file ($filename); 99 100 } 101 102 sub read_collection_cfg { 103 my ($filename,$gs_mode) = @_; 104 105 my $collectcfg = undef; 106 107 if ($gs_mode eq "gs2") { 108 $collectcfg = &colcfg::read_collect_cfg ($filename); 109 } elsif ($gs_mode eq "gs3") { 110 $collectcfg = &colcfg::read_collection_cfg_xml ($filename); 111 } 112 else { 113 print STDERR "Failed to read collection configuration file\n"; 114 print STDERR " Unrecognized mode: $gs_mode\n"; 115 } 116 117 return $collectcfg; 118 } 119 120 121 100 122 sub write_collection_cfg_xml { 101 123 102 124 } 125 103 126 sub write_build_cfg_xml { 104 127 my ($buildoutfile, $buildcfg, $collectcfg, $disable_OAI) = @_;
Note:
See TracChangeset
for help on using the changeset viewer.