Changeset 4439
- Timestamp:
- 2003-05-30T15:10:30+12:00 (21 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/BuildOptions.java
r4366 r4439 50 50 // And if that too fails, load the default argument templates 51 51 if(build_arguments_element == null || import_arguments_element == null) { 52 Document build_document = Utility.parse("xml " + File.separator + "buildcol.xml", true);52 Document build_document = Utility.parse("xml/buildcol.xml", true); 53 53 build_arguments_element = build_document.getDocumentElement(); 54 54 build_document = null; 55 Document import_document = Utility.parse("xml " + File.separator + "import.xml", true);55 Document import_document = Utility.parse("xml/import.xml", true); 56 56 import_arguments_element = import_document.getDocumentElement(); 57 57 import_document = null; -
trunk/gli/src/org/greenstone/gatherer/collection/Collection.java
r4366 r4439 81 81 static final private String BUILD_CONFIG = "BuildConfig"; 82 82 /** The name of the collection xml template. */ 83 static final private String COLLECTION_XML_TEMPLATE = "xml " + File.separator + "template.col";83 static final private String COLLECTION_XML_TEMPLATE = "xml/template.col"; 84 84 /** The name of the directory mappings element. */ 85 85 static final private String DIRECTORY_MAPPINGS = "DirectoryMappings"; -
trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r4390 r4439 370 370 public void createLockFile(File destination) { 371 371 try { 372 Document default_lockfile = Utility.parse("xml " + File.separator+ LOCK_FILE, true);372 Document default_lockfile = Utility.parse("xml/" + LOCK_FILE, true); 373 373 String user_name = System.getProperty("user.name"); 374 374 Element person_element = (Element) MSMUtils.getNodeFromNamed(default_lockfile.getDocumentElement(), "User"); -
trunk/gli/src/org/greenstone/gatherer/util/Utility.java
r4437 r4439 118 118 static final public String METADATA_EXTRACTED = "extracted.mds"; 119 119 /** The location the gatherer expects to find metadata set information. */ 120 static final public String METADATA_SET_TEMPLATE = "xml " + File.separator + "template.mds";121 static final public String METADATA_VALUE_TEMPLATE = "xml " + File.separator + "template.mdv";120 static final public String METADATA_SET_TEMPLATE = "xml/template.mds"; 121 static final public String METADATA_VALUE_TEMPLATE = "xml/template.mdv"; 122 122 static final public String METADATA_XML = "metadata.xml"; 123 123 static final public String NAME_ELEMENT = "Name";
Note:
See TracChangeset
for help on using the changeset viewer.