Ignore:
Timestamp:
Apr 6, 2008, 8:07:40 PM (17 years ago)
Author:
dai_9181
Message:

構成管理を大幅に改良。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Program.cpp

    r472 r477  
    1010
    1111Program program;
     12
     13void Program::Configurate()
     14{
     15    Configuration configuration;
     16    const std::string filePath = Jenga::Common::Environment::GetAppDir() + "\\config.xml";
     17    if( Jenga::Common::Path( filePath ).IsExistFile() )
     18    {
     19        configuration.ReadXml( filePath );
     20    }
     21    else
     22    {
     23        configuration.WriteXml( filePath );
     24    }
     25
     26    ActiveBasic::Common::Environment::SetAbdevRootPath( configuration.GetAbdevRootRelativePath() );
     27}
    1228
    1329bool Program::AnalysisCommandLines()
Note: See TracChangeset for help on using the changeset viewer.