Changeset 11068


Ignore:
Timestamp:
2006-01-19T14:17:27+13:00 (18 years ago)
Author:
mdewsnip
Message:

Hacked in a compensation for metadata_read now outputting <File> tags also (thus messing up the progress bar).

File:
1 edited

Legend:

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

    r11059 r11068  
    434434    next_progress_value = -1;
    435435    num_docs = -1;
    436     num_expected_docs = Gatherer.c_man.getCollection().getCount();
     436    // !! HACK: This is multiplied by 2 because the metadata_read now outputs a <File> tag also
     437    // Ideally the metadata read pass would be completely separate and the GLI could work out the number
     438    //   of documents accurately and provide a much better progress bar
     439    num_expected_docs = Gatherer.c_man.getCollection().getCount() * 2;
    437440    }
    438441
Note: See TracChangeset for help on using the changeset viewer.