Changeset 18607 for gli

Show
Ignore:
Timestamp:
02.03.2009 13:51:31 (11 years ago)
Author:
kjdon
Message:

when doing base this coll on, check inside collectgroups for more collections

Files:
1 modified

Legend:

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

    r18370 r18607  
    348348            base_collection_model.add(item); 
    349349            } 
     350        } else { 
     351 
     352          // we may be a group coll. Check the collect.cfg for collectgroup=true 
     353          BasicCollectionConfiguration config = new BasicCollectionConfiguration(collect_cfg_file); 
     354          if (config.getCollectGroup().equals("true")) { 
     355            // try subdirs in here 
     356            addCollectionsToModel(base_collection_model, possible_collections[i], site); 
     357          } 
    350358        } 
    351359        }