Changeset 9136
- Timestamp:
- 2005-02-22T15:39:10+13:00 (19 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/collection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/Collection.java
r9036 r9136 57 57 */ 58 58 public class Collection { 59 /** A reference to the BuildOptions. */60 public BuildOptions build_options;61 59 /** A reference to the Collection Design Manager. */ 62 60 public CollectionDesignManager cdm; 61 /** A reference to the build ScriptOptions. */ 62 public ScriptOptions build_options; 63 /** A reference to the import ScriptOptions. */ 64 public ScriptOptions import_options; 63 65 /** true if an error has occurred during construction */ 64 66 public boolean error = false; … … 102 104 } 103 105 // Finally create all of the child managers that are directly dependant on a collection 104 build_options = new BuildOptions(getBuildValues(), getImportValues()); 106 build_options = new ScriptOptions(getBuildValues(), "buildcol.pl", true); 107 import_options = new ScriptOptions(getImportValues(), "import.pl", true); 105 108 } 106 109 -
trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r9131 r9136 158 158 args[5] = collect_dir; 159 159 } 160 args = ArrayTools.add(args, collection.build_options.get BuildValues());160 args = ArrayTools.add(args, collection.build_options.getValues()); 161 161 args = ArrayTools.add(args, collection.getName()); 162 162 GShell shell = new GShell(args, GShell.BUILD, BUILDING, this, build_monitor, GShell.GSHELL_BUILD); … … 683 683 } 684 684 collect_dir = null; 685 args = ArrayTools.add(args, collection. build_options.getImportValues());685 args = ArrayTools.add(args, collection.import_options.getValues()); 686 686 args = ArrayTools.add(args, collection.getName()); 687 687 … … 1245 1245 1246 1246 // Get the build mode from the build options 1247 String build_mode = collection.build_options.get BuildValue("mode");1247 String build_mode = collection.build_options.getValue("mode"); 1248 1248 1249 1249 // Special case for build mode "all": replace index dir with building dir
Note:
See TracChangeset
for help on using the changeset viewer.