Roxen.git / server / tools / ntroxen / startdll / cmdline.cpp

version» Context lines:

Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:1:   // cmdline.cpp: implementation of the CCmdLine class.   // - // $Id: cmdline.cpp,v 1.18 2002/04/12 08:54:25 tomas Exp $ + // $Id: cmdline.cpp,v 1.19 2002/06/05 10:46:26 nilsson Exp $   //   //////////////////////////////////////////////////////////////////////      #include "stdafx.h"   #include "startdll.h"   #include "cmdline.h"   #include "roxen.h"   #include "enumproc.h"      #ifdef _DEBUG
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:202:   ////////////////////////   //   // CCmdLine class   //      //////////////////////////////////////////////////////////////////////   // Construction/Destruction   //////////////////////////////////////////////////////////////////////      CCmdLine::CCmdLine() - : m_SelfTestDir("etc\\test"), m_LogDir("..\\logs"), + : m_SelfTestDir("data\\test"), m_LogDir("..\\logs"),    m_ConfigDir("..\\configurations")   {    m_bPreloaded = FALSE;    m_bParseFinished = FALSE;       m_bInstall = FALSE;    m_bRemove = FALSE;    m_bOnce = FALSE;    m_bHelp = FALSE;    m_bVersion = FALSE;
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:422:    " This will enable a new 'action' in the",    " administration interface",    "",    " .B--with-file-profileB.: Like .B--with-profileB., but save information",    " for each and every file.",    "",    " .B--self-testB.: Runs a testsuite.",    " .B--self-test-verboseB.: Runs a testsuite, report all tests.",   // " .B--self-test-quietB.: Runs a testsuite, only report errors.",    " .B--self-test-dir=DIRB.: Use this self test directory instead of", -  " the default .Betc/testB. directory.", +  " the default .Bdata/testB. directory.",    "",    " .B--onceB.: Run the server only once, in the foreground.",    " This is very useful when debugging.",    " Implies --module-debug.",    "",    " .B--keep-mysqlB.: Don't shut down MySQL process when exiting",    " the start script. Useful during development",    " or any other scenario where the start script",    " is frequently terminated.",    "",
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:1461:    for (int i=0; i<m_SelfTestDir.length(); i++)    {    if (m_SelfTestDir[i] == '\\')    selfTestDirUnx[i] = '/';    else    selfTestDirUnx[i] = m_SelfTestDir[i];    }       //DEFINES="-DRUN_SELF_TEST -DSELF_TEST_DIR=\"$SELF_TEST_DIR\" $DEFINES"    //rm -rf $VARDIR/test_config* -  //cp -R etc/test/config $VARDIR/test_config -  //cp etc/test/filesystem/test_rxml_package rxml_packages/test_rxml_package +  //cp -R data/test/config $VARDIR/test_config +  //cp data/test/filesystem/test_rxml_package rxml_packages/test_rxml_package    //DIR=$VARDIR/test_config    //once=1    //remove_dumped=1    m_saPikeArgs.Add("-DRUN_SELF_TEST");    m_saPikeArgs.Add(("-DSELF_TEST_DIR=\\\"" + selfTestDirUnx + "\\\"").c_str());       m_bOnce = TRUE;    m_iDebug = max(m_iDebug, 1);    m_ConfigDir = "../var/test_config";    m_saRoxenArgs.Add(("--config-dir=" + m_ConfigDir).c_str());