[Pydev-cvs] org.python.pydev.debug/tests/org/python/pydev/debug/codecoverage XmlRpcTest.java, 1.2,
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-05-21 01:38:08
|
Update of /cvsroot/pydev/org.python.pydev.debug/tests/org/python/pydev/debug/codecoverage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4564/tests/org/python/pydev/debug/codecoverage Modified Files: XmlRpcTest.java Log Message: - No longer using Runtime.exec(String), only Runtime.exec(String[]) - Updating the markers in a better (faster) way Index: XmlRpcTest.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/tests/org/python/pydev/debug/codecoverage/XmlRpcTest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** XmlRpcTest.java 30 Mar 2008 21:45:18 -0000 1.2 --- XmlRpcTest.java 21 May 2008 01:38:15 -0000 1.3 *************** *** 20,24 **** import org.python.pydev.debug.newconsole.PydevXmlRpcClient; import org.python.pydev.plugin.SocketUtil; - import org.python.pydev.runners.SimplePythonRunner; import org.python.pydev.runners.ThreadStreamReader; --- 20,23 ---- *************** *** 87,99 **** File f = new File(TestDependent.TEST_PYDEV_PLUGIN_LOC+"pysrc/pydevconsole.py"); ! String cmdLine; if(python){ ! cmdLine = SimplePythonRunner.getCommandLineAsString( ! new String[]{TestDependent.PYTHON_EXE, "-u", REF.getFileAbsolutePath(f), ""+port, ""+client_port}); }else{ ! cmdLine = SimplePythonRunner.getCommandLineAsString( ! new String[]{TestDependent.JAVA_LOCATION, "-classpath", TestDependent.JYTHON_JAR_LOCATION, "org.python.util.jython", ! REF.getFileAbsolutePath(f), ""+port, ""+client_port}); } --- 86,96 ---- File f = new File(TestDependent.TEST_PYDEV_PLUGIN_LOC+"pysrc/pydevconsole.py"); ! String[] cmdLine; if(python){ ! cmdLine = new String[]{TestDependent.PYTHON_EXE, "-u", REF.getFileAbsolutePath(f), ""+port, ""+client_port}; }else{ ! cmdLine = new String[]{TestDependent.JAVA_LOCATION, "-classpath", TestDependent.JYTHON_JAR_LOCATION, "org.python.util.jython", ! REF.getFileAbsolutePath(f), ""+port, ""+client_port}; } |