This commit needs to be reverted as it is removing setting up
variable which is later used in generating xml. Therefore
widgets do not install as crash occurs when calling function
on empty variable
Change-Id: Ic91a94851e00c35e4fa5bcd77c90b4dc556b7562
Signed-off-by: Wojciech Kosowicz <w.kosowicz@samsung.com>
#include <pkgmgr_parser.h>
-#include <boost/filesystem/path.hpp>
-
#include <unistd.h>
#include <sys/types.h>
Property<manifest_x*> manifest_data;
// path to manifest xml file used to register data in databases
- Property<boost::filesystem::path> xml_path;
+ Property<std::string> xml_path;
// pkgid used for update or uninstallation processing
Property<std::string> pkgid;
Step::Status StepGenerateXml::process() {
assert(context_->manifest_data.get());
+ fs::path xml_path = fs::path(getUserManifestPath(context_->uid.get()))
+ / fs::path(context_->pkgid.get());
+ xml_path += ".xml";
+
+ context_->xml_path.set(xml_path.string());
boost::system::error_code error;
if ((!context_->manifest_data.get()->uiapplication) &&
(!context_->manifest_data.get()->serviceapplication)) {