public void clear() { LogUtils.debug("ClearService.clear", "start..."); DirUtils.del(ClearServicePlugin.DIR_PATH_TMP); LogUtils.debug("ClearService.clear", "end..."); }
public void copy(string strDirPathSolution, List <string> lstNBuildDirName, FileInfo oFileInfoNBuildXML) { LogUtils.debug("CopyService.copy", "start..."); foreach (var strNBuildDirName in lstNBuildDirName) { var strDirPathSrc = CopyServicePlugin.DIR_PATH_NBUILD_DATA(strDirPathSolution, strNBuildDirName); var strDirPathDst = CopyServicePlugin.DIR_PATH_DST_PRJ_DATA(oFileInfoNBuildXML, strNBuildDirName); DirUtils.del(strDirPathDst); FileUtils.xcopy(strDirPathSrc, strDirPathDst); } LogUtils.debug("CopyService.copy", "end..."); }
public void copy() { LogUtils.debug("SuperDocBuilder.CopyService", "start..."); //1.rmdir var strDirPathSrc = CopyServicePlugin.DIR_PATH_SRC; var strDirPathDst = CopyServicePlugin.DIR_PATH_DST(MainService.getInstance().m_oConfService.Confs[ConfServicePlugin.PROP_dirPathBase]); if (Directory.Exists(strDirPathDst)) { DirUtils.del(strDirPathDst); } //2.xcopy FileUtils.xcopy(strDirPathSrc, strDirPathDst); LogUtils.debug("SuperDocBuilder.CopyService", "end..."); }
public static void test() { DirUtils.del(@"C:\TestDir"); }