Changeset 4527 for trunk/gli


Ignore:
Timestamp:
2003-06-10T11:58:20+12:00 (21 years ago)
Author:
jmt12
Message:

2030115: Importing Metadata didn't work under windows because I had hardcoded the main jar name as Gatherer.jar when looking for dynamically loaded classes (such as the GreenstoneMetadataParser). Its now in the Utility class and has the more appropriate value GLI.jar

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
3 edited

Legend:

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

    r4465 r4527  
    808808        }
    809809        }
    810                 // Search for any other CustomClassifiers within the jar file (if present)
    811         File jar_file = new File("Gatherer.jar");
     810        // Search for any other CustomClassifiers within the jar file (if present)
     811        File jar_file = new File(Utility.GLI_ARCHIVE);
    812812        if(jar_file.exists()) {
    813813        try {
  • trunk/gli/src/org/greenstone/gatherer/msm/ExistingMetadataLoader.java

    r4365 r4527  
    7272    file = null;
    7373    // Find any metadata parsers found in the jar file (if present)
    74     File jar_file = new File("Gatherer.jar");
     74    File jar_file = new File(Utility.GLI_ARCHIVE);
    7575    if(jar_file.exists()) {
    7676        try {
  • trunk/gli/src/org/greenstone/gatherer/util/Utility.java

    r4491 r4527  
    103103    /** Definition of an important directory name, in this case the private web cache directory for the collection. */
    104104    static final public String GCACHE_DIR = "gcache" + File.separator;
     105    /** The archive file where the GLI can find dynamically loaded classes. */
     106    static final public String GLI_ARCHIVE = "GLI.jar";
    105107    /** Definition of an important directory name, in this case the location of help documentation. */
    106108    static final public String HELP_DIR = BASE_DIR + "help" + File.separator;
Note: See TracChangeset for help on using the changeset viewer.