Changeset 9784


Ignore:
Timestamp:
2005-04-29T14:52:44+12:00 (19 years ago)
Author:
kjdon
Message:

put the super.configure first, cos use the results of it in this.configure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ant-install-branch/gsdl3/src/java/org/greenstone/gsdl3/service/GS3MGPPRetrieve.java

    r8959 r9784  
    5050    public boolean configure(Element info, Element extra_info)
    5151    {
     52    // Do generic configuration
     53    if (!super.configure(info, extra_info)) {
     54        return false;
     55    }
     56
    5257    // Do specific configuration
    5358    System.out.println("Configuring GS3MGPPRetrieve...");
     
    6671    // The location of the MGPP text files
    6772    mgpp_textdir = GSFile.collectionBaseDir(this.site_home, this.cluster_name) +
    68         File.separatorChar + GSFile.collectionTextPath(this.cluster_name);
     73        File.separatorChar + GSFile.collectionTextPath(this.index_stem);
    6974
    70     // Do generic configuration
    71     return super.configure(info, extra_info);
    72  
     75    return true;
    7376    }
    7477   
Note: See TracChangeset for help on using the changeset viewer.