Revision 5802
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 |
} |
|
142 | 136 |
catch(Exception e) |
143 | 137 |
{ |
144 | 138 |
logMetacat.error("Could not find servlet url in CrudService: " + e.getMessage()); |
Also available in: Unified diff
removing code I just added