Changeset 9055
- Timestamp:
- 2005-02-16T11:58:56+13:00 (19 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/GathererProg.java
r9039 r9055 86 86 gatherer.feedback_dialog = dlg; 87 87 } 88 88 89 if (go.collect_directory_path != null) { 90 // Use non-standard collect directory (for when running one GLI in a network environment) 91 Gatherer.setCollectDirectoryPath(go.collect_directory_path); 92 } 93 89 94 // Splash screen. 90 95 Splash splash = new Splash(); -
trunk/gli/src/org/greenstone/gatherer/GetOpt.java
r8629 r9055 38 38 public boolean no_load = false; 39 39 40 public String collect_directory_path = null; 40 41 public String extra = null; 41 42 public String filename = null; … … 174 175 servlet_path = argument_value; 175 176 } 177 // Specify a non-standard collect directory to use (for running one GLI in a network environment) 178 else if (argument_name.equals(StaticStrings.COLLECTDIR_ARGUMENT)) { 179 collect_directory_path = argument_value; 180 System.err.println("Non standard collect directory specified: " + collect_directory_path); 181 } 176 182 // Specify a collection to load initially. Could be used for file associations. 177 183 else if(argument_name.equals(StaticStrings.LOAD_ARGUMENT)) { -
trunk/gli/src/org/greenstone/gatherer/util/StaticStrings.java
r8992 r9055 58 58 static final public String COLLECT_CFG = "collect.cfg"; 59 59 static final public String COLLECTCONFIGURATION_XML = "CollectionConfig.xml"; 60 static final public String COLLECTDIR_ARGUMENT = "-collectdir"; 60 61 static final public String COLLECTION_ELEMENT = "Collection"; 61 62 static final public String COLLECTION_STR = "Collection: ";
Note:
See TracChangeset
for help on using the changeset viewer.