[GME-commit] GMESRC/Paradigms/MetaGME/MetaInterpreter2004
BON2Component.cpp,1.29,1.30
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Tue Jun 28 19:16:33 CDT 2005
- Previous message: [GME-commit]
GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep Sheet.cpp,1.12,1.13
- Next message: [GME-commit]
GMESRC/SDK/BON BON.cpp,1.9,1.10 BON2Component.cpp,1.5,1.6
BONImpl.cpp,1.25,1.26 Common.cpp,1.5,1.6 Events.cpp,1.4,1.5
Exceptions.cpp,1.4,1.5 Extensions.cpp,1.9,1.10 MON.cpp,1.7,1.8
MONImpl.cpp,1.8,1.9 Utils.cpp,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /project/gme-repository/GMESRC/Paradigms/MetaGME/MetaInterpreter2004
In directory escher:/tmp/cvs-serv14021
Modified Files:
BON2Component.cpp
Log Message:
Rich error messages.
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: BON2Component.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/Paradigms/MetaGME/MetaInterpreter2004/BON2Component.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** BON2Component.cpp 27 Jun 2005 15:54:00 -0000 1.29
--- BON2Component.cpp 28 Jun 2005 18:16:31 -0000 1.30
***************
*** 356,365 ****
initMembers( project);
! if ( !Sheet::makeValidParadigmName( m_projectName, std::string()))
{
! project->consoleMsg("[MetaInterpreter] Invalid characters in paradigm name (Rootfolder name). Please remove spaces and the special characters, except '.' and '_'. ", MSG_ERROR);
if( !global_vars.silent_mode)
! if( AfxMessageBox("Invalid characters in paradigm name. Continue?", MB_YESNO | MB_ICONWARNING) != IDYES)
return;
}
if ( Dumper::selectOutputFiles( project, m_projectName, m_dir) > 1)
--- 356,373 ----
initMembers( project);
! std::string temp;
! if ( !Sheet::makeValidParadigmName( m_projectName, temp))
{
! project->consoleMsg("[MetaInterpreter] Invalid or empty paradigm name (Rootfolder name). Please remove spaces and the special characters, except '.' and '_'. Using: \"" + temp + "\".", MSG_ERROR);
if( !global_vars.silent_mode)
! {
! CString msg = "Invalid or empty paradigm name: \"";
! msg += (m_projectName + "\". Continue using: \"" + temp + "\"?").c_str();
! if( AfxMessageBox( (LPCTSTR)msg, MB_YESNO | MB_ICONWARNING) != IDYES)
! {
! project->consoleMsg("[MetaInterpreter] Intepretation stopped by the user.", MSG_NORMAL);
return;
+ }
+ }
}
if ( Dumper::selectOutputFiles( project, m_projectName, m_dir) > 1)
- Previous message: [GME-commit]
GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep Sheet.cpp,1.12,1.13
- Next message: [GME-commit]
GMESRC/SDK/BON BON.cpp,1.9,1.10 BON2Component.cpp,1.5,1.6
BONImpl.cpp,1.25,1.26 Common.cpp,1.5,1.6 Events.cpp,1.4,1.5
Exceptions.cpp,1.4,1.5 Extensions.cpp,1.9,1.10 MON.cpp,1.7,1.8
MONImpl.cpp,1.8,1.9 Utils.cpp,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list