Ignore:
Timestamp:
2003-03-21T13:39:46+12:00 (21 years ago)
Author:
mdewsnip
Message:

Trialling the removal of passing base_dir to MGPP as a cleaner approach which also works under Windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGPPSearch.java

    r3946 r3952  
    3030
    3131// General Java classes
     32import java.io.File;
    3233import java.util.HashMap;
    3334import java.util.Vector;
     
    469470
    470471    // set up mgpp_src
    471     String basedir = GSFile.collectionBaseDir(site_home_, cluster_name_);
    472     String indexdir = GSFile.collectionIndexPath(cluster_name_, index);
     472    // String basedir = GSFile.collectionBaseDir(site_home_, cluster_name_);
     473    // String indexdir = GSFile.collectionIndexPath(cluster_name_, index);
     474    String basedir = "";
     475    String indexdir = GSFile.collectionBaseDir(site_home_, cluster_name_) +
     476        File.separatorChar + GSFile.collectionIndexPath(cluster_name_, index);
    473477
    474478    mgpp_src_.loadIndexData(basedir, indexdir);
Note: See TracChangeset for help on using the changeset viewer.