Changeset 14322 for gli/trunk


Ignore:
Timestamp:
2007-08-06T15:21:45+12:00 (17 years ago)
Author:
qq6
Message:

fixed a minor error

File:
1 edited

Legend:

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

    r14229 r14322  
    856856        loadCollectionInternal(collection_file_path);
    857857        load_collection_progress_popup.close();
    858       Gatherer.setMenuBarEnabled(true);
     858        Gatherer.setMenuBarEnabled(true);
    859859    }
    860860    }
     
    10451045    }
    10461046    command_parts_list.add(LocalGreenstone.getBinScriptDirectoryPath() + "mkcol.pl");
    1047 
    10481047    command_parts_list.add((Gatherer.GS3) ? Utility.GS3MODE_ARGUMENT : "");// add '-gs3mode'
    10491048
    10501049    command_parts_list.add("-collectdir");
    10511050    command_parts_list.add(getCollectDirectory());
    1052 
    1053    
     1051   
    10541052    command_parts_list.add("-win31compat");
    10551053    command_parts_list.add((Gatherer.isGsdlRemote) ? "false" : "true");
     
    10641062    // Run the mkcol.pl command
    10651063    String[] command_parts = (String[]) command_parts_list.toArray(new String[0]);
    1066 
     1064   
    10671065    GShell process = new GShell(command_parts, GShell.NEW, COLLECT, this, null, GShell.GSHELL_NEW);
    10681066    process.run(); // Don't bother threading this... yet
     
    13271325        }
    13281326        // deactivate it in tomcat so that windows will release the index files
    1329         if (Gatherer.GS3) {
     1327        if (Gatherer.GS3 && !Gatherer.isGsdlRemote) {
    13301328        Gatherer.configGS3Server(Configuration.site_name, ServletConfiguration.DEACTIVATE_COMMAND + collection.getName());
    13311329        }
Note: See TracChangeset for help on using the changeset viewer.