\r
def InitDefaultConfigIni(self):\r
paths = map(lambda p: os.path.join(p, 'Ecc', 'config.ini'), sys.path)\r
- paths = (os.path.realpath('config.ini'),) + tuple(paths)\r
+ paths = (os.path.abspath('config.ini'),) + tuple(paths)\r
for path in paths:\r
if os.path.exists(path):\r
self.ConfigFile = path\r
FileName,\r
'DEBUG'\r
)\r
- OutputPath = os.path.realpath(OutputPath)\r
- DebugPath = os.path.realpath(DebugPath)\r
+ OutputPath = os.path.abspath(OutputPath)\r
+ DebugPath = os.path.abspath(DebugPath)\r
return OutputPath, DebugPath\r
\r
## __GenSimpleFileSection__() method\r
FdfFilename = GenFdsGlobalVariable.ReplaceWorkspaceMacro(FdfFilename)\r
\r
if FdfFilename[0:2] == '..':\r
- FdfFilename = os.path.realpath(FdfFilename)\r
+ FdfFilename = os.path.abspath(FdfFilename)\r
if not os.path.isabs(FdfFilename):\r
FdfFilename = mws.join(GenFdsGlobalVariable.WorkSpaceDir, FdfFilename)\r
if not os.path.exists(FdfFilename):\r
ActivePlatform = GenFdsGlobalVariable.ReplaceWorkspaceMacro(ActivePlatform)\r
\r
if ActivePlatform[0:2] == '..':\r
- ActivePlatform = os.path.realpath(ActivePlatform)\r
+ ActivePlatform = os.path.abspath(ActivePlatform)\r
\r
if not os.path.isabs (ActivePlatform):\r
ActivePlatform = mws.join(GenFdsGlobalVariable.WorkSpaceDir, ActivePlatform)\r
for Key in GenFdsGlobalVariable.OutputDirDict:\r
OutputDir = GenFdsGlobalVariable.OutputDirDict[Key]\r
if OutputDir[0:2] == '..':\r
- OutputDir = os.path.realpath(OutputDir)\r
+ OutputDir = os.path.abspath(OutputDir)\r
\r
if OutputDir[1] != ':':\r
OutputDir = os.path.join (GenFdsGlobalVariable.WorkSpaceDir, OutputDir)\r