Changeset 7961


Ignore:
Timestamp:
2004-08-16T22:41:45+12:00 (20 years ago)
Author:
davidb
Message:

GLI applet will try and use plugin.dat and classifier.dat in Jar file
if present. Otherwise will rely on these being calculated at runtime
by "talking" to remote server.

File:
1 edited

Legend:

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

    r7923 r7961  
    180180    }
    181181
     182   
    182183    File plug_dat = new File(Utility.BASE_DIR + "plugins.dat");
    183184    if (!plug_dat.exists()) {
    184         Utility.extractFromJar("plugins.dat",Utility.BASE_DIR);
     185        Utility.extractFromJar("plugins.dat",Utility.BASE_DIR,false);
    185186    }
    186187
    187188    File class_dat = new File(Utility.BASE_DIR + "classifiers.dat");
    188189    if (!class_dat.exists()) {
    189         Utility.extractFromJar("classifiers.dat",Utility.BASE_DIR);
    190     }
     190        Utility.extractFromJar("classifiers.dat",Utility.BASE_DIR,false);
     191    }
     192   
    191193
    192194    g_man = gatherer.init(size, go.gsdl_path, go.gsdl3_path,
Note: See TracChangeset for help on using the changeset viewer.