Ignore:
Timestamp:
2009-11-18T15:51:36+13:00 (14 years ago)
Author:
ak19
Message:

When dealing with a remote Greenstone server, file separators need to be replaced with vertical bar since we don't know what operating system the remote GS server is (and hence what File separator it uses).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/gui/ExplodeMetadataDatabasePrompt.java

    r20924 r20957  
    289289        String metadata_file_relative_path = Gatherer.remoteGreenstoneServer.getPathRelativeToDirectory(
    290290                                                          metadata_file, collection_directory_path);
     291        metadata_file_relative_path = metadata_file_relative_path.replace(File.separatorChar, '|');
    291292        command_parts_list.add("-file");
    292293        command_parts_list.add(Base64.encodeBytes(metadata_file_relative_path.getBytes()));
Note: See TracChangeset for help on using the changeset viewer.