Changeset 17094 for gli


Ignore:
Timestamp:
2008-08-29T14:08:32+12:00 (16 years ago)
Author:
ak19
Message:

Separate open_collection entry in configuration for FLI for GS2 and FLI for GS3, so that it does not open the GS2 collection when you run FLI with GS3 for instance

File:
1 edited

Legend:

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

    r16884 r17094  
    215215     * Having 2 separate library URL properties and open_collection properties for the two
    216216     * local versions of Greenstone allows GLI to save the library_url and last opened
    217      * collection for both GS2 and GS3 in case anyone runs them alternatively. (This is useful
     217     * collection for both GS2 and GS3, in case anyone runs them alternatively. (This is useful
    218218     * when developing and testing across GS versions.) */
    219219    static public String gliPropertyNameSuffix() {
    220     if(Gatherer.isGsdlRemote || fedora_info.isActive()) {
     220    if(Gatherer.isGsdlRemote) {
    221221        return ""; // no special suffix
    222     } else if(Gatherer.GS3) { // local GS3
     222    } else if(Gatherer.GS3) { // local GS3, including FLI for GS3
    223223        return "_gs3";
    224     } else { // local GS2
     224    } else { // local GS2, including FLI for GS2
    225225        return "_gs2";
    226226    }
Note: See TracChangeset for help on using the changeset viewer.