Index: src/ch/TSubTaskBase.cpp =================================================================== diff -u -N -r2aea3ad6f3c68be709ac65c70d9646eafe3b034c -rfb4c4006dee5aaf815d08bc3e89312445b994307 --- src/ch/TSubTaskBase.cpp (.../TSubTaskBase.cpp) (revision 2aea3ad6f3c68be709ac65c70d9646eafe3b034c) +++ src/ch/TSubTaskBase.cpp (.../TSubTaskBase.cpp) (revision fb4c4006dee5aaf815d08bc3e89312445b994307) @@ -23,10 +23,10 @@ #include "stdafx.h" #include "TSubTaskBase.h" #include "../libchcore/TBasePathData.h" -#include "TLocalFilesystem.h" +#include "../libchcore/TLocalFilesystem.h" #include "TSubTaskContext.h" #include "../libchcore/TTaskDefinition.h" -#include "TTaskConfiguration.h" +#include "../libchcore/TTaskConfiguration.h" /////////////////////////////////////////////////////////////////////////// // TSubTaskBase @@ -54,7 +54,7 @@ chcore::TSmartPath pathCombined = pathDst + spFileInfo->GetFullFilePath().GetFileDir(); // force create directory - TLocalFilesystem::CreateDirectory(pathCombined, true); + chcore::TLocalFilesystem::CreateDirectory(pathCombined, true); return pathCombined + spFileInfo->GetFullFilePath().GetFileName(); } @@ -91,14 +91,14 @@ // set the dest path CString strCheckPath; - ictranslate::CFormat fmt(GetTaskPropValue(rTaskDefinition.GetConfiguration())); + ictranslate::CFormat fmt(chcore::GetTaskPropValue(rTaskDefinition.GetConfiguration())); fmt.SetParam(_t("%name"), pathFilename.ToString()); chcore::TSmartPath pathCheckPath(chcore::PathFromString((PCTSTR)fmt)); // when adding to strDstPath check if the path already exists - if so - try again int iCounter = 1; - CString strFmt = GetTaskPropValue(rTaskDefinition.GetConfiguration()); - while(TLocalFilesystem::PathExist(pathDstPath + pathCheckPath)) + CString strFmt = chcore::GetTaskPropValue(rTaskDefinition.GetConfiguration()); + while(chcore::TLocalFilesystem::PathExist(pathDstPath + pathCheckPath)) { fmt.SetFormat(strFmt); fmt.SetParam(_t("%name"), pathFilename.ToString());