Changeset 19722

Show
Ignore:
Timestamp:
02.06.2009 16:16:15 (10 years ago)
Author:
oranfry
Message:

don't skip import even if it looks like it doesn't need doing; sometimes it really does

Files:
1 modified

Legend:

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

    r19718 r19722  
    688688 
    689689            //do the import and build, skipping import if possible 
    690             if( !CollectionDesignManager.isCompleteBuild() && 
     690            /*if( !CollectionDesignManager.isCompleteBuild() && 
    691691                !collection.getMetadataChanged() && !collection.getFilesChanged() && Gatherer.c_man.imported() && 
    692692                CollectionDesignManager.getRebuildTypeRequired() <= CollectionDesignManager.BUILDCOL 
     
    698698            } 
    699699            else { 
     700            */ 
    700701                prepareForBuild(); 
    701702                Gatherer.c_man.importCollection(); //This starts the building process. 
    702             }  
     703            /* 
     704            } 
     705            */ 
    703706 
    704707        } else { //button is labelled for setting up scheduling 
     
    771774 
    772775        //do the import and build, skipping import if possible 
    773         if( !CollectionDesignManager.isCompleteBuild() && 
     776        /*if( !CollectionDesignManager.isCompleteBuild() && 
    774777            !collection.getMetadataChanged() && !collection.getFilesChanged() && Gatherer.c_man.imported() && 
    775778            CollectionDesignManager.getRebuildTypeRequired() <= CollectionDesignManager.BUILDCOL 
     
    781784        } 
    782785        else { 
     786        */ 
    783787            prepareForBuild(); 
    784788            Gatherer.c_man.importCollection(); //This starts the building process. 
     789        /* 
    785790        } 
     791        */ 
    786792         
    787793        //Re-setting the rebuildTypeRequired is handled by CollectionManager.processComplete(GShellEvent)