[GME-commit] GMESRC/GME/Gme GMEApp.cpp,1.148,1.149

Log messages of CVS commits gme-commit at list.isis.vanderbilt.edu
Wed Feb 20 15:28:45 CST 2008


Update of /project/gme-repository/GMESRC/GME/Gme
In directory escher:/tmp/cvs-serv5795

Modified Files:
	GMEApp.cpp 
Log Message:
Advices no longer given on this level in case of failure.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: GMEApp.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEApp.cpp,v
retrieving revision 1.148
retrieving revision 1.149
diff -C2 -d -r1.148 -r1.149
*** GMEApp.cpp	15 Feb 2008 18:46:50 -0000	1.148
--- GMEApp.cpp	20 Feb 2008 21:28:43 -0000	1.149
***************
*** 1052,1071 ****
  			{
  				// MGX="f:\temp\myproj" [VssDatabase = "..."] [VssPath = "..."] connection string implies that
! 				// there must be a file named myproj.mgx in that directory
! 				int pos = conn.Find( '"', 5);
! 				if( pos != -1)
! 				{
! 					CString dname;
! 					CString path = conn.Mid( 5, pos - 5);
! 					pos = path.ReverseFind( '\\'); // the last dir name: 'myproj'
! 					if( pos != -1)
! 						dname = path.Mid( pos + 1) + ".mgx";
! 	
! 					CString msg;
! 					msg.Format( "Could not open %s\\%s file!", path, dname );
! 					consoleMessage( msg, MSG_ERROR);
! 				}
! 				
! 				CString inf( "Please check if the .mgx file sits in a directory with the same name! (e.g. Helloworld.mgx has to be checked out into a directory called 'Helloworld') ");
  				consoleMessage( inf, MSG_INFO);
  			}
--- 1052,1057 ----
  			{
  				// MGX="f:\temp\myproj" [VssDatabase = "..."] [VssPath = "..."] connection string implies that
! 				// there must be an .mgx file in that directory
! 				CString inf( "Please check if the project.mgx file is correct in the project directory!");
  				consoleMessage( inf, MSG_INFO);
  			}



More information about the GME-commit mailing list