- Timestamp:
- 2014-08-20T22:03:28+12:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/gui/CreatePane.java
r20117 r29222 63 63 64 64 import org.greenstone.gatherer.collection.CollectionManager; 65 import org.greenstone.gatherer.util.GS3ServerThread; 65 66 66 67 /** This class provides a GUI view showing some statistics on your current collection, and options for building it. As the collection is built this initial view is replaced with one showing progress bars and a message log of the creation process. This log can be later accessed via the options tree located in the center of the initial pane. This class is also responsible for creating the GShellProgressMonitors that are then attatched to external shell processes, and calling the methods in the CollectionManager for actually importing and building the collection. <br><BR> … … 694 695 */ 695 696 prepareForBuild(); 697 698 // Starting building, 699 // For now, for a GS3 solr collection, we need to stop the GS3 server before building 700 // and restart it after building is complete. Restart is done in CollectionManager.processComplete() 701 if(CollectionManager.isSolrCollection()) { 702 GS3ServerThread thread = new GS3ServerThread(Configuration.gsdl3_src_path, "stop"); 703 thread.start(); 704 } 705 696 706 Gatherer.c_man.importCollection(); //This starts the building process. 697 707 /* … … 860 870 // Remove the collection lock. 861 871 //Gatherer.g_man.lockCollection(false, false); 872 873 // Cancelling building: 874 // For now, for a GS3 solr collection, we need to stop the GS3 server before building 875 // and restart it after building is complete. If a cancel is pressed during build 876 // then we also restart the GS3 server 877 if(CollectionManager.isSolrCollection()) { 878 GS3ServerThread thread = new GS3ServerThread(Configuration.gsdl3_src_path, "restart"); 879 thread.start(); 880 } 881 882 862 883 } 863 884 }
Note:
See TracChangeset
for help on using the changeset viewer.