boolean flag = false;
if (context.getLocalLibrary() == null) {
// FIXME Use newLibrary()?
Library lib = new Library(libraryManager);
lib.enableLogging(getMyLogger());
context.setLocalLibrary(lib);
lib.setAssistant(getBuilderAssistant());
lib.setSourceURI(LocationAttributes.getURI(configElm));
flag = true;
}