Changeset 3992
- Timestamp:
- 2003-03-26T12:06:46+12:00 (21 years ago)
- Location:
- trunk/gsdl3/src/java/org/greenstone/gsdl3/collection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/collection/Collection.java
r3986 r3992 106 106 107 107 meta_list = doc_.createElement(GSXML.METADATA_ELEM + GSXML.LIST_MODIFIER); 108 String httpPath = "http://bedrock.cs.waikato.ac.nz:8080/gsdl3" + 109 "/sites/localsite/collect/" + cluster_name_ + "/images"; 110 GSXML.addMetadata(doc_, meta_list, "httpPath", httpPath); 108 GSXML.addMetadata(doc_, meta_list, "httpPath", site_http_address_+"/collect/"+cluster_name_); 111 109 configureMetadata(meta_list); 112 110 -
trunk/gsdl3/src/java/org/greenstone/gsdl3/collection/ServiceCluster.java
r3967 r3992 48 48 /** base directory for the site that this cluster belongs to*/ 49 49 protected String site_home_ = null; 50 50 /** http address of the site that this cluster belongs to */ 51 protected String site_http_address_ = null; 51 52 /** The name of the cluster - for a collection, this is the collection name*/ 52 53 protected String cluster_name_ = null; … … 76 77 public void setSiteHome(String home) { 77 78 site_home_ = home; 79 } 80 81 public void setSiteAddress(String address) { 82 site_http_address_ = address; 78 83 } 79 84 … … 212 217 213 218 s.setSiteHome(site_home_); 219 s.setSiteAddress(site_http_address_); 214 220 s.setClusterName(cluster_name_); 215 221 s.setMessageRouter(router_);
Note:
See TracChangeset
for help on using the changeset viewer.