- Timestamp:
- 2020-07-01T01:05:57+12:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/gui/MetadataSetDialog.java
r18370 r34232 138 138 String metadata_path = metadata_set.getMetadataSetFile().toString(); 139 139 if (gems == null){ 140 gems = new GEMS(Configuration.gsdl_path,Configuration.gsdl3_path,"", false, false); 140 141 //gems = new GEMS(Configuration.gsdl_path,Configuration.gsdl3_path,"", false, false, site_name); // dangerous: this version of GEMS constructor only for if GEMS not launched through GLI but standalone 142 // refer to comments in GEMS.java for GEMS constructors 143 gems = new GEMS("", false); // right way to create GEMS app when launched by GLI 141 144 gems.addGEMSListener(this); 142 145 } … … 270 273 public void actionPerformed(ActionEvent event) { 271 274 if (gems == null) { 272 gems = new GEMS(Configuration.gsdl_path, Configuration.gsdl3_path, "", false, false); 275 //gems = new GEMS(Configuration.gsdl_path, Configuration.gsdl3_path, "", false, false, site_name); // dangerous: this version of GEMS constructor only for if GEMS not launched through GLI but standalone 276 // refer to comments in GEMS.java for GEMS constructors 277 gems = new GEMS("", false); // right way to create GEMS app when launched by GLI 273 278 } 274 279 gems.newMetadataSet();
Note:
See TracChangeset
for help on using the changeset viewer.