Changeset 8211


Ignore:
Timestamp:
2004-10-04T15:31:10+13:00 (20 years ago)
Author:
kjdon
Message:

a directory is considered a site if it has a siteConfig.xml file - no longer needs a collect directory as well.

File:
1 edited

Legend:

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

    r8015 r8211  
    8181    for (int i=0; possible_sites != null && i < possible_sites.length; i++) {
    8282        File site_config = new File(possible_sites[i], "siteConfig.xml");
    83         File col_dir = new File(possible_sites[i], Utility.COL_DIR);
    84         if (site_config.exists() && col_dir.exists()) {
     83        if (site_config.exists()) {
    8584        this.sites.add(possible_sites[i].getName());
    8685        }
Note: See TracChangeset for help on using the changeset viewer.