return stackInfo;
}
private void setMetaInfo(File metainfoFile, ServiceInfo serviceInfo) {
try {
ServiceMetainfoXml smx = unmarshal(ServiceMetainfoXml.class, metainfoFile);
serviceInfo.setComment(smx.getComment());
serviceInfo.setUser(smx.getUser());
serviceInfo.setVersion(smx.getVersion());
serviceInfo.setDeleted(smx.isDeleted());
serviceInfo.setConfigDependencies(smx.getConfigDependencies());
serviceInfo.getComponents().addAll(smx.getComponents());
} catch (Exception e) {
LOG.error("Error while parsing metainfo.xml for a service", e);
}
}