// Set some defaults
Session session = getAncestorSession();
String dataDirectory = session.getEnvironmentString("Directory", true);
XMLDocument dxl = getDxl();
dxl.selectSingleNode("/scriptlibrary/code/javaproject").setAttribute("codepath", dataDirectory);
} catch (IOException e) {
DominoUtils.handleException(e);
}
}