import org.tizen.nativeplatform.win.util.RootstrapUtilWin;
import org.tizen.sbilib.ide.PluginManager;
import org.tizen.sbilib.ide.Target;
-import org.tizen.sdblib.util.IOUtil;
+import org.tizen.common.util.IOUtil;
import org.w3c.dom.Attr;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
} catch (ParserConfigurationException e) {
logger.error(String.format("Failed to generate XML file: [%s]", e), e);
- e.printStackTrace();
return false;
} catch (TransformerConfigurationException e) {
logger.error(String.format("Failed to generate XML file: [%s]", e), e);
- e.printStackTrace();
return false;
} catch (FileNotFoundException e) {
logger.error(String.format("Failed to generate XML file: [%s]", e), e);
- e.printStackTrace();
return false;
} catch (TransformerException e) {
logger.error(String.format("Failed to generate XML file: [%s]", e), e);
- e.printStackTrace();
return false;
} finally {
IOUtil.tryClose(fos);
IRemoteCopyTools copytool = RemoteConnectionManager.getRemoteTools().getCopyTool();
copytool.uploadFileToFile(filePath.toOSString(), remotefilePath.toString());
} catch (Exception e) {
- e.printStackTrace();
+ logger.error(String.format("Failed to uploadFile"), e);
}
return true;
IRemoteFileTools filetool = RemoteConnectionManager.getRemoteTools().getFileTool();
filetool.removeFile(path, new NullProgressMonitor());
} catch (Exception e) {
- e.printStackTrace();
+ logger.error(String.format("Failed to removeFile"), e);
}
}
}