Changeset 7281 for trunk/gli/src/org/greenstone/gatherer/file
- Timestamp:
- 2004-05-05T15:14:48+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/file/FileNode.java
r7275 r7281 269 269 if(children == null) { 270 270 children = new ArrayList(); 271 // Super Special Case: if the name of this node is the Tree.World string, then we actually map the collections installed in greenstone. The file in this case will actually b ythe collect directory of greenstone.271 // Super Special Case: if the name of this node is the Tree.World string, then we actually map the collections installed in greenstone. The file in this case will actually be the collect directory of greenstone. 272 272 if(file == null && title.equals(Dictionary.get("Tree.World"))) { 273 273 ///atherer.println("Map the 'Greenstone Collections' node."); … … 283 283 File import_dir = new File(cols[i], StaticStrings.IMPORT_FOLDER); 284 284 if(import_dir.exists()) { 285 // we don't care if there is no config file 285 286 BasicCollectionConfiguration collect_cfg = new BasicCollectionConfiguration(new File(cols[i], Utility.CONFIG_FILE)); 286 287 FileNode collection_root = new FileNode(import_dir, collect_cfg.toString(), true);
Note:
See TracChangeset
for help on using the changeset viewer.