Changeset 17095

Show
Ignore:
Timestamp:
29.08.2008 14:10:41 (11 years ago)
Author:
ak19
Message:

FLI exports a separate docMETS xml file representing a collection object for ingestion into Fedora. Though the gsdlsourcefilename of this collection object does not refer to the import directory, there's no need to print a warning about this as it is desired behaviour.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/metadata/DocXMLFile.java

    r17014 r17095  
    261261            } 
    262262 
    263             // Warn about an odd gsdlsourcefilename, except if it is the Greenstone "tmp" directory 
    264             // or (as in the case of using FLI) if it is the etc/collect.cfg file 
    265             // This is true when the source files come from a zip file processed by ZIPPlug, for example 
    266             else if (gsdlsourcefilename_value.indexOf("tmp") == -1 && !gsdlsourcefilename_value.endsWith("collect.cfg")) { 
     263            // Warn about an odd gsdlsourcefilename, except if it is the Greenstone "tmp" directory or 
     264            // (as in the case of using FLI) if it is the etc/collect.cfg or etc/collectionConfig.xml file 
     265            // which are the gsdlsourcefilenames for the fedora digital object representing a collection. 
     266            // This (tmp dir) is true when the source files come from a zip file processed by ZIPPlug, for example 
     267            else if (gsdlsourcefilename_value.indexOf("tmp") == -1  
     268                 && !gsdlsourcefilename_value.endsWith("collect.cfg") 
     269                 && !gsdlsourcefilename_value.endsWith("collectionConfig.xml")) { 
    267270            // We don't really know what is going on... 
    268271            System.err.println("Warning: Could not understand gsdlsourcefilename " + gsdlsourcefilename_value);