Ignore:
Timestamp:
2003-08-21T11:14:40+12:00 (21 years ago)
Author:
jmt12
Message:

Fix 203B142. Collections that are built outside of GLI will now be recognized as previewable

File:
1 edited

Legend:

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

    r5164 r5237  
    173173    public boolean built() {
    174174    if(collection != null) {
    175         return collection.getBuilt();
     175        // Determine if the collection has been built by looking for the build.cfg file
     176        File build_cfg_file = new File(getCollectionIndex() + Utility.BUILD_CFG_FILENAME);
     177        return build_cfg_file.exists();
    176178    }
    177179    return false;
Note: See TracChangeset for help on using the changeset viewer.