Changeset 14306


Ignore:
Timestamp:
2007-08-06T10:31:42+12:00 (15 years ago)
Author:
qq6
Message:

zip collectionConfig.xml for a remote GS3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/remote/ZipCollectionConfigurations.java

    r13392 r14306  
    8484    {
    8585        // Only collect.cfg files are included
    86         return (relative_file_path.equals("collect.cfg") || relative_file_path.endsWith(File.separator + "collect.cfg"));
     86        if (relative_file_path.endsWith("collect.cfg")){
     87        return (relative_file_path.equals("collect.cfg") || relative_file_path.endsWith(File.separator + "collect.cfg"));
     88        }
     89
     90        // Only collectConfig.xml files are included
     91        if (relative_file_path.endsWith("collectionConfig.xml")){
     92        return (relative_file_path.equals("collectionConfig.xml") || relative_file_path.endsWith(File.separator + "collectionConfig.xml"));
     93        }
     94        return false;
    8795    }
    8896    }
Note: See TracChangeset for help on using the changeset viewer.