[Jsmooth-cvs] jsmooth/skeletons/simplewrap main.cpp,1.27,1.28
Status: Beta
Brought to you by:
reyes
From: Rodrigo R. <re...@us...> - 2007-05-01 19:40:23
|
Update of /cvsroot/jsmooth/jsmooth/skeletons/simplewrap In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv9102/simplewrap Modified Files: main.cpp Log Message: adds exit code propagation when exe-run Index: main.cpp =================================================================== RCS file: /cvsroot/jsmooth/jsmooth/skeletons/simplewrap/main.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** main.cpp 30 Apr 2007 20:54:32 -0000 1.27 --- main.cpp 1 May 2007 19:40:16 -0000 1.28 *************** *** 68,76 **** } ! std::string dodebug = globalResMan->getProperty("skel_Debug"); ! if ((StringUtils::parseInt(dodebug) != 0) && (DEBUGCONSOLE==0)) ! { ! DEBUGCONSOLE = new DebugConsole("JSmooth Debug"); ! } if (DEBUGCONSOLE!=0) --- 68,78 ---- } ! ! bool dodebug = globalResMan->getBooleanProperty("skel_Debug"); ! ! if (dodebug) ! { ! DEBUGCONSOLE = new DebugConsole("JSmooth Debug"); ! } if (DEBUGCONSOLE!=0) *************** *** 87,96 **** JavaMachineManager man(*globalResMan); ! std::string preferDLLstr = globalResMan->getProperty("skel_SingleProcess"); ! bool preferDLL = false; ! if (StringUtils::parseInt(preferDLLstr) > 0) ! preferDLL = true; ! if (man.run(true, preferDLL) == false) { DEBUG("Displaying error message to user..."); --- 89,101 ---- JavaMachineManager man(*globalResMan); ! man.setAcceptExe(true); ! man.setAcceptDLL(true); ! if (dodebug) ! man.setUseConsole(true); ! else ! man.setUseConsole(false); ! man.setPreferDLL(globalResMan->getBooleanProperty("skel_SingleProcess")); ! if (man.run() == false) { DEBUG("Displaying error message to user..."); |