Ignore:
Timestamp:
2005-08-01T13:40:37+12:00 (19 years ago)
Author:
mdewsnip
Message:

Added a new LocalGreenstone class which contains functions that only make sense with a local Greenstone.

File:
1 edited

Legend:

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

    r10368 r10370  
    4747import org.greenstone.gatherer.Dictionary;
    4848import org.greenstone.gatherer.Gatherer;
     49import org.greenstone.gatherer.LocalGreenstone;
    4950import org.greenstone.gatherer.collection.BasicCollectionConfiguration;
    5051import org.greenstone.gatherer.shell.GShell;
     
    288289        command_parts_list.add("-S");
    289290    }
    290     command_parts_list.add(Configuration.getScriptPath() + "export.pl");
     291    command_parts_list.add(LocalGreenstone.getBinScriptDirectoryPath() + "export.pl");
    291292    command_parts_list.add("-gli");
    292293    command_parts_list.add("-language");
     
    296297    command_parts_list.add(export_type);
    297298    command_parts_list.add("-exportdir");
    298     command_parts_list.add(Configuration.getTmpDirectoryPath());
     299    command_parts_list.add(LocalGreenstone.getTmpDirectoryPath());
    299300
    300301    if (cd_title.equals("")) {
     
    344345    args[0] = coll_names.toString();
    345346
    346     args[1] = Configuration.getTmpDirectoryPath();
     347    args[1] = LocalGreenstone.getTmpDirectoryPath();
    347348    if(cd_title.equals("")) {
    348349        String export_type = (String)saveas_combobox.getSelectedItem();
Note: See TracChangeset for help on using the changeset viewer.