|
|
@ -213,7 +213,8 @@ std::string CPipelineProject::getOutputDirectory()
|
|
|
|
|
|
|
|
|
|
|
|
std::string CPipelineProject::getTempDirectory()
|
|
|
|
std::string CPipelineProject::getTempDirectory()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (m_TempDirectory.empty())
|
|
|
|
std::string tempDirectory;
|
|
|
|
|
|
|
|
do
|
|
|
|
{
|
|
|
|
{
|
|
|
|
std::stringstream ss;
|
|
|
|
std::stringstream ss;
|
|
|
|
ss << g_WorkDir;
|
|
|
|
ss << g_WorkDir;
|
|
|
@ -225,10 +226,10 @@ std::string CPipelineProject::getTempDirectory()
|
|
|
|
ss << rand();
|
|
|
|
ss << rand();
|
|
|
|
ss << PIPELINE_DIRECTORY_TEMP_SUFFIX;
|
|
|
|
ss << PIPELINE_DIRECTORY_TEMP_SUFFIX;
|
|
|
|
ss << "/";
|
|
|
|
ss << "/";
|
|
|
|
NLMISC::CFile::createDirectoryTree(ss.str());
|
|
|
|
tempDirectory = ss.str();
|
|
|
|
m_TempDirectory = ss.str();
|
|
|
|
} while (NLMISC::CFile::isDirectory(tempDirectory));
|
|
|
|
}
|
|
|
|
NLMISC::CFile::createDirectoryTree(tempDirectory);
|
|
|
|
return m_TempDirectory;
|
|
|
|
return tempDirectory;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void CPipelineProject::parseValue(std::string &result, const std::string &value)
|
|
|
|
void CPipelineProject::parseValue(std::string &result, const std::string &value)
|
|
|
|