- Timestamp:
- 2008-08-26T19:08:52+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/metadata/DocXMLFile.java
r17009 r17014 41 41 protected HashMap source_file_name_to_description_elements_mapping = new HashMap(); 42 42 43 protected static String MetadataWrap = null;44 protected static String MetadataItem = null;45 46 public DocXMLFile(String doc_xml_file_path )43 protected final String MetadataWrap; 44 protected final String MetadataItem; 45 46 public DocXMLFile(String doc_xml_file_path, String metaWrap, String metaItem) 47 47 { 48 48 super(doc_xml_file_path); 49 this.MetadataWrap = metaWrap; 50 this.MetadataItem = metaItem; 49 51 } 50 52 … … 260 262 261 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 262 265 // This is true when the source files come from a zip file processed by ZIPPlug, for example 263 else if (gsdlsourcefilename_value.indexOf("tmp") == -1 ) {266 else if (gsdlsourcefilename_value.indexOf("tmp") == -1 && !gsdlsourcefilename_value.endsWith("collect.cfg")) { 264 267 // We don't really know what is going on... 265 268 System.err.println("Warning: Could not understand gsdlsourcefilename " + gsdlsourcefilename_value);
Note:
See TracChangeset
for help on using the changeset viewer.