if( null == ddDir ) {
throw new ServletException("Unable to find design document source for upload");
}
}
DesignDocumentPush ddPush = new DesignDocumentPush(couchDb, ATLAS_DESIGN_SERVER, ddDir);
try {
ddPush.push();
} catch(Exception e) {
throw new ServletException("Problem pushing design document: "+ATLAS_DESIGN_SERVER, e);
}
try {