Changeset 6895


Ignore:
Timestamp:
2004-02-26T09:49:31+13:00 (20 years ago)
Author:
kjdon
Message:

use a setBuildManager method instead of passign the build manager into each function that uses it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/BuildManager.java

    r6868 r6895  
    2626    // get the collection configuration information
    2727    this.collectionManager = new CollectionManager(site, collection);
    28 
     28    this.collectionManager.setBuildManager(this);
    2929    // set up the list of input directories
    3030    if (inputRoots.size() == 0) {
     
    7373
    7474    // configure the collection
    75     this.collectionManager.configureCollection(this);
     75    this.collectionManager.configureCollection();
    7676
    7777    // prepare a file crawler on the etc directory, and a crawl observer to respond to
     
    105105
    106106    // TODO: add expansion (e.g. Zip files)
    107 
     107   
    108108    for (int i = 0; i < this.inputRoots.size(); i ++)
    109109    { FileCrawler fileCrawler = new FileCrawler(new File((String) this.inputRoots.get(i)), recogniserManager);
     
    123123   
    124124    this.collectionManager.setCollectionMetadata("gsdl3", "documentCount", Integer.toString(this.docList.getCount()));
    125 
     125   
    126126    // TODO: write out collection configuration file (service lists, etc.)
    127127   
Note: See TracChangeset for help on using the changeset viewer.