Changeset 8088
- Timestamp:
- 2004-08-30T12:22:48+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/msm/MetadataXMLFileManager.java
r7744 r8088 361 361 } 362 362 if(new_metadata != null) { 363 // File level 364 363 // Convert relative paths into absolute paths 365 364 String filename = file.toString(); 366 if (!filename.startsWith(File.separator)) { 365 if ((Utility.isWindows() == true && filename.charAt(1) != ':') || 366 (Utility.isWindows() == false && !filename.startsWith(File.separator))) { 367 367 String collection_dir = Utility.getCollectionDir(); 368 368 File full_file = new File(collection_dir + filename); … … 370 370 } 371 371 372 // File level 372 373 if(file.isFile()) { 373 374 // System.err.println("Calling metadata_xml.addMetadata(" + new_metadata + ")...");
Note:
See TracChangeset
for help on using the changeset viewer.