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/GS2MGPPRetrieve.java

    r3938 r3952  
    2626// XML classes
    2727import org.w3c.dom.Element;
     28
     29// General Java classes
     30import java.io.File;
    2831
    2932
     
    101104
    102105    // The location of the MGPP text files
    103     String basedir = GSFile.collectionBaseDir(site_home_, cluster_name_);
    104     String textdir = GSFile.collectionTextPath(cluster_name_);
     106    // String basedir = GSFile.collectionBaseDir(site_home_, cluster_name_);
     107    // String textdir = GSFile.collectionTextPath(cluster_name_);
     108    String basedir = "";
     109    String textdir = GSFile.collectionBaseDir(site_home_, cluster_name_) +
     110        File.separatorChar + GSFile.collectionTextPath(cluster_name_);
    105111
    106112    // Get the documents
Note: See TracChangeset for help on using the changeset viewer.