fo = new FileOutputStream(tmpLbXmlFile);
LbConfigHelper.exportXml(lbr, fo);
if(retrieveFile){
retrieveLbXml(context, lbXmlFile, tmpLbXmlFile);
}
LbConfig lbConfig = lbr.getLbConfig();
//Check for the case when lbtargets are provided
//In such a case, lbconfig will be null
if(lbConfig != null){
lbConfig.setLastExported();
}
String msg = LbLogUtil.getStringManager().getString(
"GeneratedFileLocation", lbXmlFile.toString());
return msg;
} finally {