Ignore:
Timestamp:
2010-09-15T18:49:33+12:00 (14 years ago)
Author:
ak19
Message:

gsdlsite.cfg which gets updated when collectdir is changed may not exist the first time round (like when gs2 is just checked out from svn and you want to change the default collectdir from that of a previous gs2 installation to the new one). But it is the apache web server that needs gsdlsite.cfg (for collecthome), not server.exe.

File:
1 edited

Legend:

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

    r22831 r22911  
    880880            collectDir = collectDir.substring(0, collectDir.length()-1); // remove file separator at end   
    881881            Utility.updatePropertyConfigFile(gsdlsitecfg, "collecthome", collectDir);
    882 
     882                    // if gsdlsite.cfg does not exist (if using server.exe for instance), the above method will just return
     883           
    883884            if(!Gatherer.GS3 && Gatherer.isLocalLibrary) {
    884885                // for Images in the collection to work, the apache web server
Note: See TracChangeset for help on using the changeset viewer.