Changeset 13680
- Timestamp:
- 2007-01-18T13:31:53+13:00 (16 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/gems
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gems/GEMS.java
r12758 r13680 131 131 132 132 } 133 new GEMS(go.gsdl_path,go.metadata_path,true,go.new_set); 133 134 new GEMS(go.gsdl_path,go.gsdl3_path,go.metadata_path,true,go.new_set); 135 134 136 } 135 137 … … 137 139 /** Constructor. 138 140 */ 139 public GEMS(String gsdl_path, String metadata_path, boolean standalone, boolean new_set)141 public GEMS(String gsdl_path, String gsdl3_path, String metadata_path, boolean standalone, boolean new_set) 140 142 { 141 143 self = this; 142 144 JarTools.initialise(this); 143 145 screen_size = Configuration.screen_size; 144 msm = new MetadataSetManager(gsdl_path );146 msm = new MetadataSetManager(gsdl_path,gsdl3_path); 145 147 stand_alone = standalone; 146 148 listeners = new ArrayList(); -
trunk/gli/src/org/greenstone/gatherer/gems/MetadataSetManager.java
r13467 r13680 71 71 72 72 /** Constructor. */ 73 public MetadataSetManager(String gsdl_path ) {73 public MetadataSetManager(String gsdl_path, String gsdl3_path) { 74 74 // Determine the GLI user directory path 75 75 String gli_user_directory_path = System.getProperty("user.home") + File.separator; … … 82 82 } 83 83 84 new Configuration(gli_user_directory_path, gsdl_path, null, null, null);84 new Configuration(gli_user_directory_path, gsdl_path, gsdl3_path, null, null); 85 85 current_language = Configuration.getLanguage(); 86 86 … … 375 375 static public String getCollectionPath() 376 376 { 377 return Configuration.gsdl_path + File.separator + "collect"; 377 if (Configuration.gsdl3_path != null){ 378 return Configuration.gsdl3_path + File.separator + "sites"; 379 380 } 381 else{ 382 return Configuration.gsdl_path + File.separator + "collect"; 383 } 378 384 } 379 385 }
Note:
See TracChangeset
for help on using the changeset viewer.