Changeset 10100


Ignore:
Timestamp:
2005-06-15T13:18:01+12:00 (19 years ago)
Author:
kjdon
Message:

removed a couple of unused methods, gsdl3home now points to the web dir, so removed web from the site/interface home path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/util/GSFile.java

    r9874 r10100  
    4545public class GSFile {
    4646
    47     static public String dtdDir(String gsdl3_home) {
    48     return gsdl3_home + File.separatorChar + "resources" +
    49         File.separatorChar + "dtd";
    50     }
    5147    /**  site config file path */
    5248    static public String siteConfigFile(String site_home) {
     
    196192
    197193    static public String siteHome(String gsdl3_home, String site_name) {
    198     return gsdl3_home + File.separatorChar + "web" +
    199         File.separatorChar + "sites" +
     194    return gsdl3_home + File.separatorChar + "sites" +
    200195        File.separatorChar +site_name;
    201196    }
     
    203198    static public String interfaceHome(String gsdl3_home,
    204199                       String interface_name) {
    205     return gsdl3_home + File.separatorChar + "web" +
    206         File.separatorChar + "interfaces" +
     200    return gsdl3_home + File.separatorChar + "interfaces" +
    207201        File.separatorChar + interface_name;
    208202    }
     
    280274    }
    281275
    282     /** returns the path to the stylesheet used to transform config file
    283      * format statements*/
    284     public static String configFileFormatStylesheet() {
    285     URL url = ClassLoader.getSystemResource("config_format.xsl");
    286     if (url == null) {
    287         return "";
    288     }
    289     return url.getFile();
    290     }
    291276
    292277    /** base directory for phind data */
Note: See TracChangeset for help on using the changeset viewer.