Revision 5801
Added by berkley almost 14 years ago
src/edu/ucsb/nceas/metacat/dataone/CrudService.java | ||
---|---|---|
133 | 133 |
metacatUrl = "http://" + server + ":" + port + "/" + context + "/d1"; |
134 | 134 |
logMetacat.debug("Initializing CrudService with url " + metacatUrl); |
135 | 135 |
} |
136 |
catch(NullPointerException npe) |
|
137 |
{ |
|
138 |
//if we can't find the properties to use, use the knb-mn instance |
|
139 |
//to test on. This is for the automated Hudson tests for D1 |
|
140 |
metacatUrl = "http://knb-mn.ecoinformatics.org/knb/d1"; |
|
141 |
} |
|
136 | 142 |
catch(Exception e) |
137 | 143 |
{ |
138 | 144 |
logMetacat.error("Could not find servlet url in CrudService: " + e.getMessage()); |
Also available in: Unified diff
adding default url to test against