Ignore:
Timestamp:
2012-12-11T17:21:17+13:00 (11 years ago)
Author:
ak19
Message:

Related to commit revision 26567 which mandated the inclusion of the site flag (and site_name) when building scripts are run over Greenstone 3 collections. This is now passed in by GLI to those scripts.

File:
1 edited

Legend:

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

    r22848 r26573  
    453453    // we want to be able to export items from other collect directories too
    454454    String collectDir = Gatherer.getCollectDirectoryPath();
     455
     456    if(Gatherer.GS3) {
     457        command_parts_list.add("-site");
     458        command_parts_list.add(Configuration.site_name);
     459    }
     460
    455461    if(collectDir != Gatherer.getDefaultGSCollectDirectoryPath(true)) {
    456462        command_parts_list.add("-collectdir");
Note: See TracChangeset for help on using the changeset viewer.