Revision 6560
Added by ben leinfelder about 13 years ago
src/edu/ucsb/nceas/metacat/admin/GeoserverAdmin.java | ||
---|---|---|
195 | 195 |
|
196 | 196 |
|
197 | 197 |
// process the context/data dir |
198 |
if (context != null || dataDir != null) {
|
|
198 |
if (context == null || dataDir == null) {
|
|
199 | 199 |
validationErrors.add("Context and Data Directory cannot be null"); |
200 | 200 |
} else { |
201 | 201 |
PropertyService.setPropertyNoPersist("geoserver.context", context); |
Also available in: Unified diff
correctly check for missing config values during geoserver configuration