Changeset 26225


Ignore:
Timestamp:
2012-09-20T10:40:14+12:00 (12 years ago)
Author:
kjdon
Message:

doing collection specific pluginfo.pl in gs3 needs the -site option otherwise it can't find the collection

File:
1 edited

Legend:

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

    r25963 r26225  
    151151            args.add("-collection");
    152152            args.add(collection_name);
     153            if (Gatherer.GS3) {
     154              args.add("-site");
     155              args.add(Configuration.site_name);
     156            }           
    153157        }
    154158        args.add("-xml");
     
    218222            args.add("-collection");
    219223            args.add(collection_name);
     224            if (Gatherer.GS3) {
     225              args.add("-site");
     226              args.add(Configuration.site_name);
     227            }
    220228        }
    221229        args.add("-listall");
     
    313321    {
    314322    ArrayList plugins_list = new ArrayList();
    315 
     323   
    316324    Document document = XMLTools.parseXML(new StringReader(xml));
    317325    Node root = document.getDocumentElement();
Note: See TracChangeset for help on using the changeset viewer.